747 reputation
512
bio website
location
age
visits member for 2 years, 3 months
seen Jul 28 at 11:20

Jul
22
awarded  Notable Question
Apr
18
awarded  Yearling
Sep
29
comment Why brace expansion not supported?
@user43312: why are you still using RH9? It has been unmaintained for many many years. AS Stephane wrote it is a feature of recent bash versions. So it's very unlikely that your bash version supports it. You can check the version using bash --version. And just to be sure check if you are running a bash shell by checking the $SHELL variable or simply running ps. To use this feature you might try to start a zsh shell (zsh) first. Anothher workaround would be to use something like "mkdir $(seq 1 10)".
Sep
29
comment Bash, name of the stdin file?
side note: counting the signs is not the best way to check if a file is valid. While it is recommended to encode a greater than sign as > the w3c validator doesn't even generate a warning if you don't. So if you are trying to validate XHTML/XML/SGML/etc. you need to look into different tests.
Jun
11
awarded  Popular Question
Jun
9
awarded  Notable Question
Apr
18
awarded  Yearling
Nov
19
awarded  Popular Question
Nov
15
revised What is the purpose of the lost+found folder in Linux and Unix?
this answer was copied from the Linux Filesystem Hierarchy HowTo, I've added the missing reference
Nov
15
suggested suggested edit on What is the purpose of the lost+found folder in Linux and Unix?
Oct
31
awarded  Revival
Sep
29
answered Unzip to location
Sep
25
comment How can I fsck a partition when the device reads as busy (but has been confirmed otherwise)?
It didn't help in my case but the Red Hat KB (access.redhat.com/knowledge/solutions/54184) recommends adding the nodmraid kernel option as a workaround for this problem.
Sep
25
comment How can I fsck a partition when the device reads as busy (but has been confirmed otherwise)?
I'm encountering the same problem on a RHEL5.8 system. /tmp has been unmounted, /etc/mtab and /proc/mounts show no trace of the file system. I've even rebooted the machine, made sure I'm the only one logged on. lsof shows no file in use on /tmp. The same procedure works fine on 4 similar servers installed using the same kickstart profile. The difference between those servers and this one is that this one has SAN storage attached to it. Could the multipath daemon cause this?
Jun
29
comment How to checkout Tomcat by SVN?
check svn --version, it should list the ra_neon module.
Jun
23
revised Bash script doesn't work as cronjob
append directory to PATH rather than set it statically
Jun
23
comment Bash script doesn't work as cronjob
I've modified the PATH variable, by setting the variable like you did any exisitng directory was removed. By appending a directory to the path you increase the change that goaccess is found. It's still better to use the full path to goaccess (or any other tool) in a script though.
Jun
23
suggested suggested edit on Bash script doesn't work as cronjob
Jun
20
comment Patch without changing owner and group
Can you show an example with file ownership and the exact command you run? I'm a bit surprised to see that user root is not allowed to execute ... as foo. That would indicate you are logged in as root and then executing sudo. Usually you run sudo to gain elevated privileges. So to help you we need to know who owns the file, who is executing the patch command etc.
Jun
19
comment How do I determine the new size for resize2fs?
Very informative answer!