Hey All,
Today we will see a very simple example of the usage of those commands which i had mentioned on my old post .If you have not yet checked it out ,visit below link
👇 👇
Detailed Explanation of Basic Commands
👆 👆
Sample Usage :-
[17303102@SampleServer1 ~]$
Source :- Reference Books and Ubuntu Support
This guide was last updated on 25/10/17 and is up to date till the above mentioned date.
I will not be responsible for any damage to your system due to any mistake by you in following the guide correctly !
If you face any difficulties or the steps fail ,try contacting me ! I will try my best to help you !
Have a nice day !
-Febin Koshy Philip
Febkosq8
Today we will see a very simple example of the usage of those commands which i had mentioned on my old post .If you have not yet checked it out ,visit below link
👇 👇
Detailed Explanation of Basic Commands
👆 👆
Sample Usage :-
[17303102@SampleServer1 ~]$
- ls //shows the content of the current directory
- mkdir lab1 //make a folder named "lab1"
- ls
- pwd //shows the address of the directory where you are currently working //on c
- cd lab1 //Navigates/Goes To the directory "lab1" created earlier
- pwd
- ls
- vi hello.c //creates or opens the file named "hello.c" here 'c' denotes the //filetype/extension
- ls
- cc hello.c //compiles the file named "hello.c" and saves it to the default file named //"a.out"
- ls
- cc hello.c -o hello.out //compiles the file named "hello." and saves it the the custom file named //"hello.out"
- ls
- ./hello.out //runs/executes the file named "hello.out"
- vi add.c //opens another file named "add.c"
- cc add.c
- cc add.c -o add.out
- ./add.out
- pwd
- cd .. //explained already in the other post mentioned at the starting of this post
- ls
- mkdir lab2
- ls
- pwd
- ls
- cd lab1
- pwd
- ls
- cd ..
- pwd
- cd lab2
- vi 2a.c
- cd
- pwd
Source :- Reference Books and Ubuntu Support
This guide was last updated on 25/10/17 and is up to date till the above mentioned date.
I will not be responsible for any damage to your system due to any mistake by you in following the guide correctly !
If you face any difficulties or the steps fail ,try contacting me ! I will try my best to help you !
Have a nice day !
-Febin Koshy Philip
Febkosq8
Comments
Post a Comment