terdon's user avatar
terdon's user avatar
terdon's user avatar
terdon
Moderator
  • Member for 11 years, 3 months
  • Last seen this week
  • London or Athens
1278 votes
Accepted

How can I replace a string in a file(s)?

580 votes
Accepted

What are the shell's control and redirection operators?

493 votes
Accepted

How can I get the current working directory?

243 votes

Bash - how to run a command after the previous finished?

215 votes

Shell scripting: -z and -n options with if

197 votes
Accepted

Use scp to transfer a file from local directory X to remote directory Y

184 votes
Accepted

If you ^Z from a process, it gets "stopped". How do you switch back in?

179 votes

How to output only file names (with spaces) in ls -Al?

150 votes

How to exit a shell script if one part of it fails?

137 votes

scp and compress at the same time, no intermediate save

133 votes
Accepted

How do I remove the first 300 million lines from a 700 GB txt file on a system with 1 TB disk space?

114 votes
Accepted

Difference between "cd -" and "cd ~-"

107 votes

top command on multi core processor

107 votes
Accepted

Is there a file that will always not exist?

105 votes
Accepted

How to shutdown Linux at specific datetime from terminal?

102 votes
Accepted

'ps' arguments to display PID, PPID, PGID, and SID collectively

89 votes

sed capture groups not working

89 votes
Accepted

"tree" command output with "pure" (7-bit) ASCII output

83 votes

What causes this green background in ls output?

79 votes

Recursively delete all files with a given extension

75 votes
Accepted

Text editor for printing C++ code

74 votes
Accepted

Grep from the end of a file to the beginning

73 votes

How do I start all shell sessions in a directory other than $HOME?

72 votes

how to pass environment variable to sudo su

72 votes
Accepted

Join multiple sed commands in one script for processing CSV file

71 votes
Accepted

Can root/superuser read my read-protected files?

69 votes

Why avoid using "&&" in bash script?

67 votes

How can I get my sed command to make permanent changes to a file?

66 votes
Accepted

How to merge two files based on the matching of two columns?

63 votes
Accepted

Bash: slice of positional parameters

1
2 3 4 5
114