scp
usagescp *.png server:~
Copies all png files from current folder to home directory onserver
(which is a key specified in config) -scp server:~*.png ~/pics
the other way around
- printing at ifi (w/ pullprint)
pullprint [file]
orlpr [file] -P pullprint_ricoh
- Pullprint
- Bash shell shortcuts (from here)
- Ctrl + a: Start of line
- Ctrl + e: End of line
- Ctrl + w: Erase word
- Ctrl + k: Erase from cursor until end of line
- :p -- add this to print command to be run instead of executing it
ln -s old-dir new-dir
Creates a symbolic link fromold-dir
tonew-dir
(make surenew-dir
doesn't exist yet)- In iterm: Cmd+Shift+D splits!
column -t -s [SEP] file.csv
prints file.csv, which is separated by [SEP], nicely formattedgrep -lR "•" . | xargs sed -i "" 's/•/■/g'
replace dot with square, in all files in current folder and subfolderswget -r -np -nH --cut-dirs=3 -R index.html http://hostname/aaa/bbb/ccc/ddd/
download all linksfind . -name '*.pl'
find all perl filescron
: https://ole.michelsen.dk/blog/schedule-jobs-with-crontab-on-mac-osx.htmlcrontab -l
list running jobs- kill process: https://stackoverflow.com/a/37214138/3600147
Last active
August 13, 2018 06:21
-
-
Save vegarsti/be61b64bc433542614fa023bb15365cd to your computer and use it in GitHub Desktop.
Useful Unix commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bash : set -eux