Skip to main content
Siva's user avatar
Siva's user avatar
Siva's user avatar
Siva
  • Member for 6 years, 8 months
  • Last seen more than a week ago
  • Chennai
26 votes

Delete files with names that appear to begin with '?' in command line

25 votes
Accepted

How does ` ... | awk '$1=$1'` remove extra spaces?

17 votes

How do I grep for lines containing either of two words, but not both?

14 votes
Accepted

Shell Script - Check if a file contains a specific line/string

13 votes
Accepted

Create the same subfolders in another folder

12 votes

How do I redirect shell stdout to the first line of file?

12 votes
Accepted

How to put a string search with grep command into if statement?

11 votes

How to print the count of pattern at each line?

10 votes

What does 's=.*/==' do in sed?

10 votes

sh script name -sh: /bin/sh^M: bad interpreter: No such file or directory

10 votes

Trim lines to a specific length

9 votes

How redirecting debug output to a file

9 votes
Accepted

Replace a string before a certain line

8 votes
Accepted

How to merge the different lines of files?

8 votes

Execute a command after some time if no input from user

7 votes
Accepted

Running a script inside another script

7 votes

How to change a file in-place using awk? (as with "sed -i")

7 votes
Accepted

I can't write to a /etc/resolvconf.conf as root anymore?

7 votes
Accepted

Deleting older log files

6 votes

Aligning output in Linux paste command

6 votes

How to delete the first word in each line of a file?

6 votes

How to compare 2 strings in UNIX shell script?

6 votes

How to combine these two grep statements

6 votes

"grep -q" vs "if [ -n/-z]"

5 votes
Accepted

Get users with UID >= 1000 from /etc/passwd

5 votes
Accepted

count all specific words that ended in each line

5 votes

Bash Read: Reading comma separated list, last element is missed

5 votes
Accepted

Exclude all dot underscore files from rsync

5 votes
Accepted

Why can't I grep the tmux man page for join-pane?

4 votes

Preformat output CSV

1
2 3 4 5
14