choroba's user avatar
choroba's user avatar
choroba's user avatar
choroba
  • Member for 11 years, 8 months
  • Last seen more than a week ago
94 votes

Which one is better: using ; or && to execute multiple commands in one line?

42 votes
Accepted

How to access the last return value in bash?

36 votes
Accepted

Exclude from * in command line

31 votes

How to select the first line from each file in a directory and print it into a new text file

25 votes
Accepted

Bash pass both array and non-array parameter to function

22 votes
Accepted

Why doesn't this bash script run as "sh runserver" recognize the "source" command?

19 votes

Delete all files except specified files/folders using command line?

16 votes
Accepted

Singlequote and backslash

15 votes

Will ls always list the files that rm will remove?

14 votes
Accepted

How do I count all files on my system?

14 votes

What is the point of the bash Null-operator ":", colon?

14 votes

Show Shell Function in Ubuntu Terminal

11 votes
Accepted

Why use env in shebang?

11 votes
Accepted

Trying to pass two variables in a bash script

10 votes

Is there something similar to echo -n in heredoc (EOF)?

10 votes

Why I could not create a folder named '/' using terminal?

10 votes

'/etc/hosts' , http links are redirecting, but https links are not redirecting

10 votes

How do I make the shell to recognize the file names returned by a `ls -A` command, and these names contain spaces?

10 votes
Accepted

Default environment for screen is /bin/sh when it should be /bin/bash?

9 votes

Print word containing string and first word

9 votes
Accepted

Make multiple copies of one file with different names

8 votes
Accepted

Merge files using a common column

8 votes
Accepted

How do I print a value obtained from a command or a fallback value if the command returns empty?

8 votes

How can I have mkdir cd into the newly-created directory?

8 votes
Accepted

Reuse last line on terminal

7 votes
Accepted

command output based on pattern

7 votes

Comparing two text files

7 votes
Accepted

How to select and print IP address from a set of strings?

7 votes
Accepted

Trying to script deleting files from wildcards in a text file

7 votes
Accepted

Automating a rename files bash script

1
2 3 4 5 6