0% found this document useful (0 votes)
40 views

Linux Basic Command With Example

This document provides a summary of basic Linux commands and examples of their usage. It outlines commands for creating directories and files, changing directories, checking the present working directory, listing files and folders, deleting files and folders, checking the date, and viewing the calendar. Examples are given for most commands to demonstrate proper syntax and usage. In total, 16 basic Linux commands are summarized along with recommendations to practice using them.

Uploaded by

Parmod Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Linux Basic Command With Example

This document provides a summary of basic Linux commands and examples of their usage. It outlines commands for creating directories and files, changing directories, checking the present working directory, listing files and folders, deleting files and folders, checking the date, and viewing the calendar. Examples are given for most commands to demonstrate proper syntax and usage. In total, 16 basic Linux commands are summarized along with recommendations to practice using them.

Uploaded by

Parmod Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Linux basic Command with Example

For online practice I used this site :


http://bellard.org/jslinux/

1)
2)
3)
4)
5)
6)

mkdir :- To create new Directory and Folder.


ls
:- to show list of all files & folder
touch : - to make empty files.
cd :to change directory
pwd :- to check present directory in which we are working
syntax is look likes
root@localhost Desktop] #
in this root = username
localhost is = computer name
desktop is = present working directory
7) ls t :- to show complete detail
8) cd .. :- to come back completely out from directory.
9) cd - :- use to come back last directory
10)
rm file name ( rm abc ) :- to delete any file
11)
rm -r folder name (rm r ravi ) :- to delete empty folder
12)
rm -rf folder name (rm rf ravi ) :- to delete folder contain any
file
13)
Date :- to check current date
14)
To change date syntax is = date 0415220014
04 = month
15= date
2200 = time
14 = year
15)
cal :- to check calendar (cal 2016 to check complete year)
cal 7 2016 = for july month.
16)

I hope u like it . & do some practice in free time.

You might also like