There are multiple Linux distributions (OS) such as Ubuntu and CentOS.
There are two interfaces to use Linux
Using Linux CLI
|./||Current working directory|
|.filename||The ‘.’ signifies ‘filename’ is a hidden file|
|pwd||Present working directory|
Move one directory up
Move to root
|List directory contents|
List contents of directory and its subcontents
List directory contents including hidden
List directory contents including hidden with details
cat > filename
cat filename1 filename2>filename3
|List contents of file (e.g. cat note.txt)|
Creates new file
Merges filename1 & filename2 to filename3
|Copies(cp)/Moves(mv) file to a chosen directory|
e.g. cp abc.txt /home/<username>/Desktop
copies abc.txt to Desktop (moves if mv over cp)
- Sicam, C., Baclit, R., Membrey, P., & Newbigin, J. (2009). Foundations of CentOS Linux Enterprise Linux On the Cheap. Berkeley, CA: Apress.
- Dave_Child. “Linux Command Line Cheat Sheet.” Cheatography, Cheatography Https://Cheatography.com, 28 Oct. 2011, cheatography.com/davechild/cheat-sheets/linux-command-line/.
- “35 Linux Basic Commands Every User Should Know (Cheat Sheet).” Hostinger Tutorials, 13 May 2021, www.hostinger.my/tutorials/linux-commands.