Reputation
3,207
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 6 21
Impact
~324k people reached

Aug
13
awarded  Notable Question
Aug
7
reviewed Edit gdb attach question
Aug
7
revised gdb attach question
improving typos
Aug
5
reviewed Approve Have to transform some bunch of csv in req format and store it in some other location with same name
Jul
19
awarded  Yearling
Jul
2
comment How to get back my split-screen after I lost connection with “screen”
unfortunately splits in screen do not persist after a connection loss or deliberately detach.
Jul
2
comment Print alternating lines with conditional
uniq can read files as well. uniq -f1 filename will work just fine
Jul
2
comment Using cron to start a process on a terminal without using screen?
You can use something like * * * * * echo test >/dev/pts/2 where 2 is the terminal you have active. Use w to see details.
Jun
25
reviewed Approve Forward only one port in openvpn
Jun
22
comment RPM installation %post macro works on terminal but not on GUI
@AvinashNair use the snippet in my answer and see if this changes anything.
Jun
16
awarded  Popular Question
Jun
11
comment RPM installation %post macro works on terminal but not on GUI
@AvinashNair Ok, so what does echo "$DISPLAY" tell you prior building the rpm? Try then su -c 'rpm -ivh sample_rpm' and tell me what you get.
Jun
11
answered RPM installation %post macro works on terminal but not on GUI
Jun
10
comment Determine the target of an SSH connection at runtime
See man ssh_config
Jun
6
revised Iptables to allow incoming FTP
edited body
May
26
comment BASH: Fifo troubles - seems selective about input
In the writer part you are using FD 4 so you are doing: done 4>"$fifoIn" Should be done 4<"$fifoIn" Also fifoIn=$(mkfifo /path/to/fifo). You need to make sure fifo exists. Then.. use while IFS= read -r line; do printf '%s\n' "$line"; done ... As Anthony suggested, use set -xv just under the shebang so you get more debugging info
May
24
comment grep command not working in conditional statement
And now I'm confused as well.
May
24
answered grep command not working in conditional statement
May
23
comment How can I partially copy a file from a broken disk?
Another option is to use e.g split -b[bytes] yourbigFile
May
21
comment CentOS can't remove user from group
No idea why this answer has not been upvoted. It's best practice!