AGamePlayer's user avatar
AGamePlayer's user avatar
AGamePlayer's user avatar
AGamePlayer
  • Member for 10 years, 8 months
  • Last seen more than a month ago
176 votes
6 answers
501k views

What does '>/dev/null 2>&1' mean in this article of crontab basics? [duplicate]

173 votes
8 answers
290k views

Can scp create a directory if it doesn't exist?

107 votes
2 answers
158k views

how to count the length of an array defined in bash?

48 votes
2 answers
113k views

How do I get the total size of everything in a directory in one line? [duplicate]

43 votes
4 answers
118k views

Is mkdir -p totally safe when creating folder already exists

24 votes
2 answers
22k views

Why is mv so much faster than cp? How do I recover from an incorrect mv command?

23 votes
6 answers
32k views

what do I need to do with "man: can't set the locale; make sure $LC_* and $LANG are correct"

19 votes
2 answers
10k views

Is there something like JavaScript's "split()" in the shell?

16 votes
3 answers
27k views

How do I remove all files in a folder except just some specified files?

13 votes
3 answers
365k views

How do I know a specified user's permissions on Linux with root access?

11 votes
6 answers
8k views

How do I keep the first 200 lines of all the csv files in a directory using bash?

9 votes
1 answer
25k views

What do the %h and %p do in this command?

8 votes
3 answers
75k views

How to run a shell script inside a shell script

7 votes
1 answer
5k views

Do I have to install mosh-server on my server to use Mosh?

6 votes
3 answers
7k views

Unexpected output when accessing array element

6 votes
2 answers
2k views

How to use tar to compress a group of files in a .txt file?

6 votes
1 answer
7k views

is it possible to check whether a local socks proxy works with shell script?

5 votes
3 answers
20k views

How could I reach root after switching from bash to zsh?

4 votes
2 answers
14k views

how to check if both parameters are set in bash? [closed]

4 votes
1 answer
5k views

How to backup all the files that I'm copying before being overwritten?

3 votes
2 answers
1k views

Why mosh can stay login even when you changed your network situation?

2 votes
1 answer
5k views

Execute two commands if the first one fails

2 votes
3 answers
9k views

How do I get / available space with "df" and output it to a log file?

2 votes
2 answers
6k views

Why when we run a executable file we need to add ./ ahead? [duplicate]

2 votes
1 answer
9k views

How to use convert command with bash to resize all images in a given directory?

2 votes
1 answer
10k views

How do I login to the same remote server with two different usernames via key-login from a same local user?

1 vote
1 answer
154 views

How to use passed-in parameters for shell script?

1 vote
1 answer
1k views

Why the non-root user can't login with a key in putty? [duplicate]

1 vote
2 answers
1k views

Why SSH key login asking me the Passphrase every time?

1 vote
2 answers
7k views

How to package separately located files into a same folder structure?