Files

  • pwd
  • cd
  • ls
  • mkdir
  • touch
  • cp
  • mv
  • rm

Permission

  • chown
  • chmod
Symbolic:  r-- -w- --x  |  421
Binary:    100 010 001  |  -------
Decimal:    4   2   1   |  000 = 0
                        |  001 = 1
Symbolic:  rwx r-x r-x  |  010 = 2
Binary:    111 101 101  |  011 = 3
Decimal:    7   5   5   |  100 = 4
           /   /   /    |  101 = 5
Owner  ---/   /   /     |  110 = 6
Group  ------/   /      |  111 = 7
Others ---------/       |  Binary to Octal chart
  • find
  • grep

Processes

  • top
  • ps
  • ps -aux
  • kill -9
  • killall

Console general

  • Pipe |
  • Outfile >
  • tee = outfile + console out

Services

  • sudo service %%name%% start|stop|restart
  • sudo systemctl stop|start|restart %%name%%

Users

  • adduser %%username%%
  • adduser %%username%% %%group%%
  • groupadd %%group%%

Networking

  • ifconfig
  • ping
  • netstats
  • traceroute
  • nmap

Remote acces

  • ssh
  • sftp
  • openssh server

Man pages

  • man

Startup scripts

  • /etc/init.d/
  • /etc/system.d/system/*.service