Skip to content

Instantly share code, notes, and snippets.

Created June 5, 2013 19:01
Show Gist options
  • Save anonymous/5716287 to your computer and use it in GitHub Desktop.
Save anonymous/5716287 to your computer and use it in GitHub Desktop.

Command line Tips

Navigation

pushd .
dirs
popd

cd-

Copy

xclip -o > new_file
xclip file

Search for a file

locate name

Temp file with cat

cat > new_file
...
^D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment