Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/nullpo. a private forum from a long time ago www.nullpo.cc
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051!!,!$ !! repeat whole command e.g. sudo !! e.g. echo "!!" > foo.sh !$ repeat last arg e.g. vim test.sh chmod +x !$^foo^bar re-executes previous command, replacing foo with barC-z and fg,bg After a C-z: bg resumes the process in background fg brings it back to foreground (and resumes) e.g. C-z a vim session to compilecp foo{1,2} e.g. touch test1 mv test{1,2} e.g. touch foo cp foo{,.bak} e.g. touch {1,2,3,4}testcurl ifconfig.me gets external ip addresspushd,popd stack of working directories| piping e.g. fortune | cowsay e.g. ls -l | grep cscinl adds line numbers e.g. ls -l | nlwhich get the path to a program e.g. which ls e.g. which whichmore,less e.g. ls -R | less`` backticks e.g. diff `which more` `which less`~ expansion e.g. cd ~bentab completion with wildcards e.g. rm *test <TAB><TAB> e.g. rm *.txt <TAB><TAB>C-u deletes whole lineC-t swaps current character with previous charactertail -ffollows a log (live) e.g. tail -f /var/log/apache2/access_log