SlideShare a Scribd company logo
LINUX :FILE ORIENTED
COMMANDS
1bhatvijetha
 Cat
This cat (catenated –concatenate) command is used
to display the contents of the specified file.
General format :
Cat [-options] <filename1> [<filename2>…]
Where options can be,
S suppresses warning about non-existing files.
d lists the sub-directory entries only
b numbers non blank output lines
n numbers all output lines
2bhatvijetha
 Example
$cat a.c
This will display the contents of the file , a.c
$cat a.c b.c
This will display the contents of the files a.c and b.c one by
one.
3bhatvijetha
 Cp
This cp command is used to copy the content of on file into
another file .
If the destination is an existing file,the file is overwritten ;
If the destination is an existing directory ,the file is copied
into that directory.
General format is,
Cp [-options] <source file > <destination file>
4bhatvijetha
 rm
The rm (remove )command is used to remove a file from
the specified directory.
To remove a file you must have a write permission for the
directory that contains the file but you need not have
permission on the file itself.
General format is,
Rm [-options] <filename>
Where options can be,
r deletes all directories including the lower order directories.
I prompts before deleting
f removes write protected files also,without prompting.
5bhatvijetha
 Example
$ rm a.c
This command deletes the file a.c from the current
directory.
6bhatvijetha
Mv
This command is used to rename the specified
files/directories.
General format is,
Mv <source> <destination>
For move command the user must have both write and
execute permissions on the source.
Example:
$mv a.c b.c
Then file a.c is renamed as b.c.
7bhatvijetha
 Wc
This command is used to display the number of lines words
and characters of information stored in a specified file.
General format is,
Wc [-options] <filename>
Where options can be,
l displays the number of lines in the file
W displays the number of words in the file
C displays the number of characters in the file
Examples:
$ wc a.c
It displays the number of lines, words and characters in the
file.
8bhatvijetha
 Cmp
This cmp command is used to compare two files.
General format is,
Cmp <filename1><filename2>
This command reports the first instants of differences
between the specified files.
that is the two files are compared byte by byte and the
location of first mismatch is echoed to the screen.
9bhatvijetha
File access permissions
 There are 3 types of file in linux.
 Ordinary file
 Directory file
 Special file(device file)
The ordinary file consist of a stream of data that are stored
on some magnetic media.
A directory doesnot contain any data but keeps track o
account of all file and sudirectories that it contains.
Linux treats even physical devices as files.such files are
called as special files.
10bhatvijetha
 There are 3 types of modes for accessing thes files as
follows,
Read mode
Write mode
Execute mode
The file permission is displayed in 10 characters.
Bit position: 1 234 567 8910
Meaning:file/directory rwx permission rwx permission rwx permission
for users usergroup others
r readable
w writeable
X executable
- Denial of permission
11bhatvijetha
 Touch command
This command is used to create a new empty file.
The length of the file created is zero.
 Head command
The head command is used to display few lines at the
beginning of one or more files.
This is used in verifying the contents of a file.
By default it displays the first 10 lines of a file.
The general syntax of this command is
$head[count option] filename[s].
12bhatvijetha
Remaining commands Continued …in part3
presentation
13bhatvijetha

More Related Content

What's hot

Linux commands part4
Linux commands part4Linux commands part4
Linux commands part4
bhatvijetha
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
Shakeel Shafiq
 
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
swtjerin4u
 
Linux Basic commands and VI Editor
Linux Basic commands and VI EditorLinux Basic commands and VI Editor
Linux Basic commands and VI Editor
shanmuga rajan
 
Vi Editor
Vi EditorVi Editor
Linux commd
Linux commdLinux commd
Linux commd
ragav03
 
Linux commd
Linux commdLinux commd
Linux commd
ragav03
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
Rohit Kumar
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
Mohan Krishna Kona
 
Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands
Raghav Arora
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
Teja Bheemanapally
 

What's hot (11)

Linux commands part4
Linux commands part4Linux commands part4
Linux commands part4
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
 
Linux Basic commands and VI Editor
Linux Basic commands and VI EditorLinux Basic commands and VI Editor
Linux Basic commands and VI Editor
 
Vi Editor
Vi EditorVi Editor
Vi Editor
 
Linux commd
Linux commdLinux commd
Linux commd
 
Linux commd
Linux commdLinux commd
Linux commd
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
 
Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 

Similar to Linux commands part -2

40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
Teja Bheemanapally
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
PrashantTechment
 
File Commands - R.D.Sivakumar
File Commands - R.D.SivakumarFile Commands - R.D.Sivakumar
File Commands - R.D.Sivakumar
Sivakumar R D .
 
Chapter 4 Linux Basic Commands
Chapter 4 Linux Basic CommandsChapter 4 Linux Basic Commands
Chapter 4 Linux Basic Commands
Shankar Mahure
 
2023comp90024_linux2.pdf
2023comp90024_linux2.pdf2023comp90024_linux2.pdf
2023comp90024_linux2.pdf
LevLafayette1
 
2.Utilities.ppt
2.Utilities.ppt2.Utilities.ppt
2.Utilities.ppt
SupunAsanga2
 
Basics of Unix Adminisration
Basics  of Unix AdminisrationBasics  of Unix Adminisration
Basics of Unix Adminisration
Venkateswarlu Malleboina
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
Wave Digitech
 
Linux commands
Linux commandsLinux commands
Linux commands
Meenu Chopra
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
Sreenatha Reddy K R
 
Introduction to linux day1
Introduction to linux day1Introduction to linux day1
Introduction to linux day1
UtpalenduChakrobortt1
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.ppt
LuigysToro
 
Cp command in Linux
Cp command in LinuxCp command in Linux
Cp command in Linux
Syed SadathUllah
 
Lnx
LnxLnx
Handling Files Under Unix.pptx
Handling Files Under Unix.pptxHandling Files Under Unix.pptx
Handling Files Under Unix.pptx
Harsha Patel
 
Handling Files Under Unix.pptx
Handling Files Under Unix.pptxHandling Files Under Unix.pptx
Handling Files Under Unix.pptx
Harsha Patel
 
Basic shell programs assignment 1_solution_manual
Basic shell programs assignment 1_solution_manualBasic shell programs assignment 1_solution_manual
Basic shell programs assignment 1_solution_manual
Kuntal Bhowmick
 
QSpiders - Unix Operating Systems and Commands
QSpiders - Unix Operating Systems  and CommandsQSpiders - Unix Operating Systems  and Commands
QSpiders - Unix Operating Systems and Commands
Qspiders - Software Testing Training Institute
 
Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02
Kamalakannan Kuppan
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
Brahma Killampalli
 

Similar to Linux commands part -2 (20)

40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
File Commands - R.D.Sivakumar
File Commands - R.D.SivakumarFile Commands - R.D.Sivakumar
File Commands - R.D.Sivakumar
 
Chapter 4 Linux Basic Commands
Chapter 4 Linux Basic CommandsChapter 4 Linux Basic Commands
Chapter 4 Linux Basic Commands
 
2023comp90024_linux2.pdf
2023comp90024_linux2.pdf2023comp90024_linux2.pdf
2023comp90024_linux2.pdf
 
2.Utilities.ppt
2.Utilities.ppt2.Utilities.ppt
2.Utilities.ppt
 
Basics of Unix Adminisration
Basics  of Unix AdminisrationBasics  of Unix Adminisration
Basics of Unix Adminisration
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Introduction to linux day1
Introduction to linux day1Introduction to linux day1
Introduction to linux day1
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.ppt
 
Cp command in Linux
Cp command in LinuxCp command in Linux
Cp command in Linux
 
Lnx
LnxLnx
Lnx
 
Handling Files Under Unix.pptx
Handling Files Under Unix.pptxHandling Files Under Unix.pptx
Handling Files Under Unix.pptx
 
Handling Files Under Unix.pptx
Handling Files Under Unix.pptxHandling Files Under Unix.pptx
Handling Files Under Unix.pptx
 
Basic shell programs assignment 1_solution_manual
Basic shell programs assignment 1_solution_manualBasic shell programs assignment 1_solution_manual
Basic shell programs assignment 1_solution_manual
 
QSpiders - Unix Operating Systems and Commands
QSpiders - Unix Operating Systems  and CommandsQSpiders - Unix Operating Systems  and Commands
QSpiders - Unix Operating Systems and Commands
 
Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
 

More from bhatvijetha

LINUX:Control statements in shell programming
LINUX:Control statements in shell programmingLINUX:Control statements in shell programming
LINUX:Control statements in shell programming
bhatvijetha
 
Shellvariables in Linux
Shellvariables in Linux Shellvariables in Linux
Shellvariables in Linux
bhatvijetha
 
Vi editor
Vi editorVi editor
Vi editor
bhatvijetha
 
Unix vs linux
Unix vs linuxUnix vs linux
Unix vs linux
bhatvijetha
 
Pipes and filters
Pipes and filtersPipes and filters
Pipes and filters
bhatvijetha
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
bhatvijetha
 

More from bhatvijetha (6)

LINUX:Control statements in shell programming
LINUX:Control statements in shell programmingLINUX:Control statements in shell programming
LINUX:Control statements in shell programming
 
Shellvariables in Linux
Shellvariables in Linux Shellvariables in Linux
Shellvariables in Linux
 
Vi editor
Vi editorVi editor
Vi editor
 
Unix vs linux
Unix vs linuxUnix vs linux
Unix vs linux
 
Pipes and filters
Pipes and filtersPipes and filters
Pipes and filters
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
 

Recently uploaded

Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 

Recently uploaded (20)

Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 

Linux commands part -2

  • 2.  Cat This cat (catenated –concatenate) command is used to display the contents of the specified file. General format : Cat [-options] <filename1> [<filename2>…] Where options can be, S suppresses warning about non-existing files. d lists the sub-directory entries only b numbers non blank output lines n numbers all output lines 2bhatvijetha
  • 3.  Example $cat a.c This will display the contents of the file , a.c $cat a.c b.c This will display the contents of the files a.c and b.c one by one. 3bhatvijetha
  • 4.  Cp This cp command is used to copy the content of on file into another file . If the destination is an existing file,the file is overwritten ; If the destination is an existing directory ,the file is copied into that directory. General format is, Cp [-options] <source file > <destination file> 4bhatvijetha
  • 5.  rm The rm (remove )command is used to remove a file from the specified directory. To remove a file you must have a write permission for the directory that contains the file but you need not have permission on the file itself. General format is, Rm [-options] <filename> Where options can be, r deletes all directories including the lower order directories. I prompts before deleting f removes write protected files also,without prompting. 5bhatvijetha
  • 6.  Example $ rm a.c This command deletes the file a.c from the current directory. 6bhatvijetha
  • 7. Mv This command is used to rename the specified files/directories. General format is, Mv <source> <destination> For move command the user must have both write and execute permissions on the source. Example: $mv a.c b.c Then file a.c is renamed as b.c. 7bhatvijetha
  • 8.  Wc This command is used to display the number of lines words and characters of information stored in a specified file. General format is, Wc [-options] <filename> Where options can be, l displays the number of lines in the file W displays the number of words in the file C displays the number of characters in the file Examples: $ wc a.c It displays the number of lines, words and characters in the file. 8bhatvijetha
  • 9.  Cmp This cmp command is used to compare two files. General format is, Cmp <filename1><filename2> This command reports the first instants of differences between the specified files. that is the two files are compared byte by byte and the location of first mismatch is echoed to the screen. 9bhatvijetha
  • 10. File access permissions  There are 3 types of file in linux.  Ordinary file  Directory file  Special file(device file) The ordinary file consist of a stream of data that are stored on some magnetic media. A directory doesnot contain any data but keeps track o account of all file and sudirectories that it contains. Linux treats even physical devices as files.such files are called as special files. 10bhatvijetha
  • 11.  There are 3 types of modes for accessing thes files as follows, Read mode Write mode Execute mode The file permission is displayed in 10 characters. Bit position: 1 234 567 8910 Meaning:file/directory rwx permission rwx permission rwx permission for users usergroup others r readable w writeable X executable - Denial of permission 11bhatvijetha
  • 12.  Touch command This command is used to create a new empty file. The length of the file created is zero.  Head command The head command is used to display few lines at the beginning of one or more files. This is used in verifying the contents of a file. By default it displays the first 10 lines of a file. The general syntax of this command is $head[count option] filename[s]. 12bhatvijetha
  • 13. Remaining commands Continued …in part3 presentation 13bhatvijetha