Bash Command Line Guide
Installing Software;
{ from a repository }
- apt install <name of software>
- apt-get install <name of software>
- sudo apt install <name of software>
- sudo apt install <name of software>
{ from source }
- mkdir /home/user/software
- cd there and download the .tar.gz
- unzip <file> or gzip -ztf <filename.tar.gz>
- cd into new directory
- more INSTALL
- or if no INSTALL file is there:
- execute ./configure
- run make
- make install
Time Settings;
Modify in this format: MMDDhhmmYYYY = Month | Day | Hours | Minutes | Year
- sudo date 012304551991
Changes the time to 0455hrs 23 January 1991
Find Files;
- find -name <file name>
- find -name <some text that is linked to what your looking for>
- man find {more options}
- locate <some text>
- locate <filename>
- man locate {more options}
User Accounts;
- sudo adduser <name> {add user}
- sudo passwd <name> {change users password}
- sudo deluser <name> {delete user}
- usermod <name> sudo {give user sudo permissions}