What Is Linux?
Linux is a computer operating system, it is used to run, study, modify, and redistribute the source code, or even sell copies of their modified code. In fact, one of the most popular platforms on the planet, Android, is powered by the linux operating system.
The Following are the steps to use some Linux commands using an Ubuntu Operating System.
- Launch the VMware Workstation from your desktop.
- You click on create a Virtual Mahine, Use the Custom Option
- You will be directed to the Guest Operating System Installation select the option "I WILL INSTALL THE OPERATING SYSTEM LATER" then click NEXT.
- The next page tells us the memory we want to specify in the virtual machine depending on your workload
- You get to the final page then you hit finish...
WORKING WITH ROOT
- To Use Root the command Is sudo su in your linux terminal or shell. This command will put you in a root environment. The SU command is used to run a function as a difrent user. It is the easiest way to switch or change to the administrative account in the current logged in session.
- The Next command is ls command ls means list. This command lists directory.
r means read
w means write
x means execute
xr group
- The next command is CD this command means change directory or to enter into a directory for example to change our directory to MUSIC DIRECTORY
Same command applies if you want to enter any directory(pictures,downloads,public etc.)
Exit command takes you back to the Ubuntu Directory then you enter the sudo su command to enter root
File And Directory Operations
touch (name of textfile) this command create a new, empty file in your terminal or shell(this is our text file). For example i created an empty file named Odogwuexchange
To enter into a directory we use the cd command that is cd name of directory
After the Update then u install the VIM using the code apt install vim
Before typing on the text document page, you first press I which means insert then you can proceed to typing.**
- wq command
After this we hit W which means to save the text document hitting Q will take us out of the text document as shown below It will save and take you back to the directory
- Now we can use the CAT Command to view what we have in our text document without opening the text editor. All we need to do is type cat (name of the text document) as shown below
- RM command, this command will help you to delete a file by using rm (filename) in the picture I created multiple text files and I am going to list them using LS command, then I am going to use the RM command to delete
- Less(filename) command: This allow users to view contents of a textfile one screen at a time and then Q takes you back as shown below.
- To view all the commands done on the terminal you type history
This are the few Basic Linux Command.
SOCIAL SHARE CARD GENERATOR