Reputation
1,626
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 16 36
Impact
~116k people reached

  • 0 posts edited
  • 0 helpful flags
  • 67 votes cast
Mar
11
comment Run two commands on one argument (without scripting)
sorry what's the problem here with eval? (referring to top comments)
Dec
4
comment If empty condition behaviour
` exit code of 127 came back` how does one know exit code of a statement's execution? Is it possible to print exit code of echo " T " | grep -q " F "?
Dec
4
comment If empty condition behaviour
@Archemar output of the grep command is empty!
Oct
23
comment How to get information about files being copied to my machine by remote rsync command?
@Creek question is about machine A, not machine B.
Oct
23
comment How to get information about files being copied to my machine by remote rsync command?
I like this answer but I'm choosing the other as it works on an already running rsync command (even when remote-log option is not given).
Oct
23
comment How to get information about files being copied to my machine by remote rsync command?
watch ls -l worked. It showed the file being copied currently.
Oct
23
comment How to get information about files being copied to my machine by remote rsync command?
The strace command did not work. It said attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Oct
21
comment How to get information about files being copied to my machine by remote rsync command?
@Silent-Bob ssh
Oct
21
comment How to get information about files being copied to my machine by remote rsync command?
@Silent-Bob local lan.
Oct
6
comment Cannot terminate for loop in terminal
@TomHunt thanks, tried that didn't work. How do I find the bash process for a for loop?
Sep
25
comment Unable to kill process, even with root. How to diagnose?
@MatthiasDiener sorry, didn't see the comment earlier. I rebooted PC and now the problem is gone. I had tried killing by PID but it didn't work (i think it gave no output on terminal)
Jun
16
comment Sort one column only, keeping remaining columns untouched
i thought it was clear from the question and comments on it. anyway thanks for your help. you can edit the answer if you find another new way of doing it!
Jun
15
comment Sort one column only, keeping remaining columns untouched
your first column is not unchanged in first example. it's 2 1 5 1 in the end and it was 1 2 5 1 initially.
Jun
3
comment Sort one column only, keeping remaining columns untouched
did not work. It gave me output first column - 1 2 5 1 second column 1 3 4 3
Sep
13
comment sed match pattern N times
seems very complicated. what is \x?
Sep
11
comment Why does [a-z] asterisk match numbers?
@Cthulhu you got me!
Sep
10
comment Why does [a-z] asterisk match numbers?
How to use bash regex then? (see tldp.org/LDP/Bash-Beginners-Guide/html/sect_04_01.html)
Jul
26
comment Exit vim more quickly
somehow in my VIM Q was already mapped to :q by default. Thanks for the tip.
Jul
25
comment How to sort a collection of lines from different files?
Thanks it works, what's the purpose of nextfile though, it works even without nextfile.
Jul
25
comment How to sort a collection of lines from different files?
thanks for the awk FNR tip, but I also want to print the filename before sorted column. It needs storing "filename secondColumn" somehow. I think @Warwick's array suggestion will work.