Linux basics for dummies

What is it?

Linux Commands

$ echo “hello”
$ pwd
$ cd /home/admin/Downloads/
$ ls
$ ls -l
$ man ls
$ clear
$ exit


CRUD operations on file and folder levels

$ touch hello-world.txt
$ mkdir Unix
$ nano hello-world.txt$ vim hello-world.txt
$ grep 'how' hello-world.txt
Hey, how are you!
$ cat hello-world my-dog.txt | grep 'are'
Hey, how are you!
Dogs are the best! Man's best friend for a reason! Aren't the
$ echo "I am fine" >> hello-world.txt
$ mv Unix/ Learn-Unix/
$ cp hello-world.txt /home/admin/Documents/
$ rm hello-world.txt
$ rmdir Unix/
$ rm -r Unix/



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store