Skip to content

Instantly share code, notes, and snippets.

@vnglst
Last active February 15, 2016 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vnglst/4bb04f276edeed416d7c to your computer and use it in GitHub Desktop.
Save vnglst/4bb04f276edeed416d7c to your computer and use it in GitHub Desktop.
Unix general
# Install zsh
sudo apt-get install zsh
chsh -s $(which zsh)
# Install oh-my-zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# Using curl
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Useful plugins
# plugins=(git npm node sudo z)
├── bin binaries with fundamental utilities like cp, ls etc
├── boot all files required for succesfull booting process
├── dev = "devices" and contains a file representation of all devices
├── etc system-wide configuration files
├── init contains upstart scripts
├── home home directories users
├── lib shared libraries for programs in /bin
├── lib64 see above, for 64 architecture
├── lost+found lost and potentially corrupt files
├── media mount points removable devices
├── mnt = "mount", empty temporary directory for mounting devices
├── opt contains locally installed software
├── proc virtual filesystem showing information about processes as files
├── root home directory superuser "root"
├── run system information data describing system since boot
├── sbin essential system libraries like fsck, init, route
├── srv contains data served by system
├── sys information related to hardware and system
├── tmp place for temporary files, deleted at reboot
├── usr executables, libraries etc. that are not system critical
└── var = "variable", for files that change often
├── log system log files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment