12 Apr 2018
Basic Commands
- "sudo" - use before any command to grant root permissions
- "ls" - obtain a list of directories and files in the current working directory
- "pwd" - return the current working directory
- "cd" - switch to another working directory
- "mkdir folderName" - create a directory named "folderName" in the working directory.
- "cp src des" - copy files from source directory to destination directory
- "rm name" - remove specified file or directory, add -rf to perform recursive remove
- "apt-get" - advance packaging tool, use for software install, update and remove, apt-get update, apt-get remove, apt-get install
- "add-apt-repository src" - add resources installation repo
- "grep" - globally search a regular expression and print, details of grep's usage can be found here
- "cat fileName" - show the text inside a specific file
- "poweroff" - directly shut down the system via terminal