Reputation
12,808
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 33 36
Newest
 Enlightened
Impact
~757k people reached

Jul
28
comment What does DISPLAY=:0.0 actually mean?
@Raza: The TCP port numbers to open are 6000 + display_number. For display host:0.0 that is port 6000. For display host:10.0 that is port 6010. Note that SSH X11 forwarding is done over port 22 and not X11 ports.
Jun
30
comment What's the appropriate way to do “mv ./* ./subdirdir/”?
If you're happy to use bash, you can turn on extglob (shopt -s extglob) and use mv ./!(subdir) subdir/
Jun
30
awarded  Enlightened
Jun
30
awarded  Nice Answer
Jun
23
awarded  Guru
Jun
3
awarded  Nice Answer
May
31
comment How can I delete a file named “>”?
Why do you suggest find(1)? The only problem here is that a shell metacharacter needs to be quoted. There are a million-and-one different programs that can remove a file, but using anything other than rm(1) is just obfuscating the answer.
Apr
28
comment how to add files from a folder to archive instead of the folders itself
This will break on files containing whitespace.
Apr
28
answered how to add files from a folder to archive instead of the folders itself
Apr
15
awarded  Nice Answer
Mar
5
comment How to can I make Filename Sequencing with the help of Loops
There is no point in using ls here. You can just say for file in A_*.csv.
Jan
31
awarded  Good Answer
Jan
19
awarded  Good Answer
Jan
18
awarded  Good Answer
Dec
23
comment How to kill stubborn process
+1: The only answer (so far) to recognise the T state of the process. You could also send a SIGCONT to the process and any queued signals will be delivered. i.e. if you've already run pkill (and sent a SIGTERM), if you then send a SIGCONT, the process will be started and the SIGTERM will be delivered.
Dec
17
comment Get exit status of process that's piped to another
@JanHudec: Nor was it tagged POSIX. Why do you assume the answer must be POSIX? It was not specified so I provided a qualified answer. There is nothing incorrect about my answer, plus there are multiple answers to address other cases.
Dec
16
comment Get exit status of process that's piped to another
@JanHudec: Perhaps you should read the first five words of my answer. Also kindly point out where the question requested a POSIX-only answer.
Oct
30
awarded  Guru
Oct
7
awarded  Good Answer
Sep
30
awarded  Explainer