Skip to main content

All Questions

Tagged with
0 votes
2 answers
1k views

How to run a remote script with sudo via ssh without entering password

I would like my script to connect to ssh with password, and once connected it will switch to sudo -s and run the mkdir command for the moment I manage to connect to ssh without entering the password ...
Scripting's user avatar
1 vote
1 answer
484 views

Fedora terminal script to create a directory and copy a file to directory

I need help to write a script to create a directory, so far I have mkdir ./directory. This would create a folder called Directory, but I need to make it ask if the user wants to copy a file called ...
Malcolm's user avatar
  • 11
0 votes
1 answer
219 views

loop over file and make dir with 1st columns and and wget using the other columns

I have a file like this with multiple rows- GSE55555 ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE55nnn/GSE55555/suppl/* ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE55nnn/GSE55555/matrix/* GSE11111 ftp://...
Sia's user avatar
  • 3
1 vote
2 answers
418 views

Nautilus-script to move file into same name directory

How can I create a Nautilus script that moves a the selected file into a new folder with the same name? My starting point: /home/user/123 here 123 is a file with no extension My goal here is to ...
oak-island-pirate's user avatar