Inian's user avatar
Inian's user avatar
Inian's user avatar
Inian
  • Member for 7 years, 7 months
  • Last seen this week
  • Chennai, Tamil Nadu, India
51 votes

How to pass a string to a command that expects a file?

43 votes
Accepted

Correct regex not working in grep

33 votes
Accepted

CentOS 7: What is /bin/sh? It looks like Bash but seems to be something else

28 votes
Accepted

How to remove new line added by readarray when using a delimiter?

26 votes
Accepted

Why doesn't systemctl\ {restart,status}\ sshd\; work?

17 votes
Accepted

jq - add objects from file into json array

15 votes

unshift args after calling shift 1

14 votes
Accepted

How to merge arrays from multiple json files with JQ?

14 votes

How can I conditionally pass an argument from a POSIX shell script?

13 votes
Accepted

Shell Script: creating a variable with options inside

12 votes
Accepted

Bash 'unbound variable' error when variables are referenced in multiline comment (set -u)

12 votes
Accepted

Specify pipe output position

12 votes
Accepted

awk unexpectedly removes dot from string

11 votes
Accepted

"Syntax error: Bad for loop variable" when trying to run awk in a loop in a shell script

11 votes
Accepted

Get one thing from a line and concatenate it with one thing from another line

11 votes
Accepted

How can I see if a consecutive number name file is missing some file?

10 votes
Accepted

How to set a value with newline by `env` command?

10 votes
Accepted

Use argument 2 until @ for loop

10 votes

How can I add random string for each line?

9 votes

cut command fields

8 votes
Accepted

Grep count matches above 'X'

8 votes
Accepted

"for file in" numerically instead of alphabetically?

8 votes
Accepted

Why this positive lookahead regex 'string.*?(?= )' doesn't work in sed?

7 votes

How to use IFS to create multiple arrays from a text file?

7 votes
Accepted

print a pattern when line doesn't start with "#" in awk

7 votes
Accepted

Make 'find -regextype egrep' as alias

7 votes
Accepted

shellcheck warns about loops over find output even when given the path to begin search

7 votes
Accepted

Kill remote process via ssh

7 votes

Finding all files with a given extension whose base name is the name of the parent directory

7 votes
Accepted

NUL delimited variable

1
2 3 4 5
8