Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 139745

Questions about shell scripts, executable files that are interpreted by a shell (bash, zsh, etc.). Check scripts with https://shellcheck.net before posting.

2 votes

how to copy 10 files from one linux machine to another using ssh file without entering passw...

If you access the remote host on a regular basis set up a ssh key. You can find the documentation here: http://www.cyberciti.biz/faq/how-to-set-up-ssh-keys-on-linux-unix/ Also there is a tutorial wit …
Thorian93's user avatar
  • 782
0 votes

How do i write a script to run only if another script has run more recently?

If you just want to know whether script2 has run before do this: In script2 do anywhere: touch .ran_already. Now in script1 do: if [ -f .ran_already ] then Here comes what the script does.. …
Thorian93's user avatar
  • 782
3 votes
Accepted

Downloading a few thousand files - how?

I believe that you can write a small shell script to do what you want. Use a for loop to go through the files, wget or similar to download and write the current file to a file from which you can read …
Thorian93's user avatar
  • 782