Cyrus's user avatar
Cyrus's user avatar
Cyrus's user avatar
Cyrus
  • Member for 9 years, 9 months
  • Last seen this week
224 votes

How to debug a bash script?

53 votes
Accepted

sed - how to remove all lines that do not match

53 votes
Accepted

Prefix and suffix strings to each output line from command

30 votes

Bash - reverse an array

27 votes

Match exact string using grep

21 votes

How to make a temporary file in RAM?

21 votes
Accepted

Press SPACE to continue (not ENTER)

19 votes
Accepted

Extract all lines from a file starting with some sequence and then output it to another file

17 votes

Extracting sea level pressure from KML using Shell

15 votes
Accepted

Why doesn't $@ work when passing strings?

14 votes
Accepted

Bash assign $1 value

13 votes
Accepted

How can I sudo su and change directory just after?

13 votes
Accepted

Split single string into character array using ONLY bash

12 votes
Accepted

Store 2^500 in a variable in bash

11 votes

How to delete all the lines in a UNIX file except first and last line?

10 votes

How do you extract a whole word containing substring?

10 votes

How to use printf and %s when there are color codes?

10 votes

How can I both extract a specific line in a text file as well as multiple lines containing a specific string?

9 votes
Accepted

How to concatenate multiple columns with colon sign using awk?

9 votes

Can you source a "here document"?

9 votes

get result text from CLI command

8 votes

How to extract text using sed

8 votes

Format column-based text file into tree structure using bash

8 votes
Accepted

How to determine if cp -u actually copied the file?

8 votes

Can I put ranges to parameters?

7 votes

need to replace a file contents

7 votes
Accepted

Can I change how select options are displayed?

7 votes
Accepted

Search and replace a substring only if another substring is not present

7 votes
Accepted

How to subtract number in previous line from current line's using grep?

7 votes
Accepted

Sum all file sizes

1
2 3 4 5
8