Date Tags Linux

General

  • return to last working directory: cd -
  • display resource usage: htop
  • print working directory: pwd
  • Determine 32 or 64bit Linux OS uname -m

Vim

  • next tab: :tabn

Zip, Tar, Compress

  • Zip all files in current directory: $ zip myFileName * more info

Other

List Ubuntu Version in CLI

lsb_release -a

https://help.ubuntu.com/community/CheckingYourUbuntuVersion

List Open Ports

netstat -ntlp

Disable Uncomplicated Firewall (ufw)

sudo ufw disable

http://www.howtogeek.com/198615/how-to-check-if-your-linux-system-is-32-bit-or-64-bit/

Executing Multiple Linux Commands in One line (Or use a bash script)

http://stackoverflow.com/questions/13077241/execute-combine-multiple-linux-commands-in-one-line

more coming soon...


Comments

comments powered by Disqus