5,801 reputation
1926
bio website
location Florida, United States
age 28
visits member for 2 years, 3 months
seen 15 hours ago
stats profile views 199

System architect & Linux admin for cloud.com (Citrix).

We are looking for Linux admins and a white-hat security person in Fort Lauderdale. If you're interested send a message.


May
17
awarded  Necromancer
May
10
awarded  Enlightened
May
10
awarded  Nice Answer
May
5
awarded  Custodian
May
5
reviewed Approve suggested edit on Is it possible to make multi-level directory?
May
3
revised Grep to search directories for patterns inside a text file
Add `-r` option to satisfy the question's requirements.
May
3
comment Grep to search directories for patterns inside a text file
@dimas then add -r to the grep.
May
3
comment Can I redirect output to a log file and background a process at the same time?
Have you tried it? What error do you get? Also I'm not sure if you have a typo, or an error in your code. 2>$1 is probably supposed to be 2>&1.
May
2
comment Why could mount.cifs mount an empty folder?
If he didn't have root permissions the mount command would throw an error.
May
1
answered Finding all partitions with filesystems
May
1
comment Redirecting stdin with stdout to file
@derobert ah, didn't see that part. But in that case it's simple to just redirect from the file to STDIN. I'll add that to the answer. EDIT: actually that doesn't work like I expected it. Which actually has me quite surprised.
May
1
answered Redirecting stdin with stdout to file
May
1
comment How can I prevent 'grep' from showing up in ps results?
There is also the -l argument to make it show the command that's being matched.
Apr
25
comment Expand subshell before executing it?
zsh can do this, but I'm fairly certain bash cannot. In zsh if you have your cursor on the parameter, and hit TAB, it'll expand it
Apr
24
awarded  Enlightened
Apr
24
awarded  Nice Answer
Apr
24
answered List all my variables
Apr
21
comment Get exit status of process that's piped to another
@yael I don't use ksh, but from a brief glance at it's manpage, it doesn't support $PIPESTATUS or anything similar. It does support the pipefail option though.
Apr
21
answered Get exit status of process that's piped to another
Apr
19
comment Count number of lines of output from previous program
@TheLibbster yes, according to some simple tests I just did, it's actually about twice as fast as both the sed and awk methods. (I ddd 100mb of /dev/urandom to a file and then ran that file through each method several times)