-
Notifications
You must be signed in to change notification settings - Fork 1
Useful CLI utilities
View niftis inline in the terminal! This is installed on CUBIC. You need to use a different terminal (for MacOS, download and install iTerm2). Then use iTerm2 to log on instead of Terminal, and happily view your images GUI-free.
mrpeek mynifti.nii
Q #To quit
Split your terminal, as well as preserve sessions
https://thoughtbot.com/blog/a-tmux-crash-course
TODO
TODO
Shows you the output of a command or file, and refreshes that view every few seconds
watch qstat
Used to find strings inside text files
recursive: grep -r
case-insensitive: grep -i
lines that don't match: grep -v
TODO
How many lines are in a file?
wc -l filename
You can go to the Atom menu and install shell commands
, which gives you a command atom
. This is versatile in doing what you want, so you can type atom filename.txt
to open a file.