SlideShare uma empresa Scribd logo
1 de 21
X
Usefull Commands forUsefull Commands for
RedhatRedhat
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Presented By
TEJVEER SINGH
ID:VGT136T
X
IntrductionIntrduction
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
The Linux Directory Layout
File/Directory Basics
File Viewing
File Properties
File Compression
File Comparison
File Text Manipulation
Disks and File Systems
File Location
Backups and Remote Storage
Audio and Video
Hosts
Spelling Operations
Networking
Printing
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Directory Description
/bin Essential command binaries (programs)are stored
here(bash, ls, mount,tetc.)
/boot Static files of the boot loader.
/dev Device files. In Linux, hardware devices are acceessd
just like other files, andthey are kept under this
directory.
/etc Host-specific system configuration files.
/home Location of users' personal home directories (e.g.
/home/Raj).
/lib Essential shared libraries and kernel modules.
The Linux Directory Layout
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Directory Description
/proc Process information pseudo-filesystem. An interface
to kernel data structures.
/root The root (superuser) home directory.
/sbin Essential system binaries (fdisk, fsck, init, etc).
/tmp Temporary files. All users have permission to place
temporary files here.
/usr The base directory for most shareable, read-only data
(programs, l ibraries,documentation, and much ore).
/usr/bin Most user programs are kept here (cc, find, du, etc.).
/usr/include Header files for compiling C programs.
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Directory Description
/usr/lib Libraries for most binary programs.
/usr/sbin Non-vital system binaries (lpd, useradd, etc.)
/usr/share Architecture-independent data (icons, backgrounds,
documentation, terminfo, man pages, etc.).
/usr/src Program source code. E.g. The Linux Kernel, source RPMs,
etc.
/usr/X11R6 The X Window System
/var Variable data: mail and printer spools, log files, lock files,
etc.
/usr/local “Locally” installed files. This directory only really matters in
environments where files are stored on the network. Locally-
installed files go in /usr/local/bin, /usr/local/lib, etc.). Also
often used forsoftware packages installed from source,or
software not officially shipped with the distribution.
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File/Directory Basics
Command Task
ls List files
cp Copy files
mv Rename files
rm Delete files
ln Link files
cd Change directory
pwd Print current directory name
mkdir Create directory
rmdir Delete directory
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File Viewing
Command Task
cat View files
less Page through files
head View file beginning
tail View ending of file
nl Number lines of file
od View binary data of file
Xxd View binary data with charecter
gv View Postscript/PDF files
xdvi View TeX DVI files
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File Properties
Command Task
stat Display file attributes
wc Count bytes/words/lines
du Measure disk usage
file Identify file types /ASCII Files
touch Create new file timestamps
chown Change file owner
chgrp Change file group
chmod Change file rotections/Permision
chattr Change advanced file attributes/
Special Charecters
lsattr List advanced file attributes
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File Compression
Command Task
gzip Compress files (GNU Zip)
compress Compress files (Unix)
bzip2 Compress files (BZip2)
zip Compress files (Windows Zip)
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File Comparison
Command Task
diff Compare files line by line
comm Compare sorted files
cmp Compare files byte by byte
md5sum Compute checksums
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File Text Manipulation
Command Task
grep Search text for matching lines
cut Extract columns
paste Append columns
tr Translate characters
sort Sort lines
uniq Locate identical lines
tee Copy stdin to a file and
to stdout simultaneously
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Disks and File Systems
Command Task
df Show free disk space file &
Dir.
mount Make a disk accessible
fsck Check a disk for errors
sync Flush disk caches
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
File Location
Command Task
find Locate files
slocate Locate files via index
which Locate commands
whereis Locate standard files
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Backups and Remote Storage
Command Task
mt Control a tape drive
dump Back up a disk
restore Restore a dump
tar Read/write tape archives
cdrecord Burn a CD
rsync Mirror a set of files
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Audio and Video
Command Task
grip Play CDs and rip MP3s
xmms Play audio files
cdparanoia Rip audio
audacity Edit audio
xcdroast Burn CDs
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Hosts
Command Task
uname Print system information
hostname Print the system’s hostname
ifconfig Set/display network information
host Look up DNS
whois Look up domain registrants
ping Check if host is reachable
traceroute View network path to a host
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Spelling Operations
Command Task
look Look up spelling
aspell Check spelling interactively
spell Check spelling in batch
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Networking
Command Task
ssh Securely log into remote hosts
telnet Log into remote hosts
scp Securely copy files between hosts
sftp Securely files transfer between hosts
ftp Copy /Transfer files between hosts
evolution GUI email client
mutt Text-based email client
mail Minimal email client
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
mozilla Web browser
lynx Text-only web browser
wget Retrieve web pages to disk
slrn Read Usenet news
gaim Instant messaging/IRC
talk Linux/Unix chat
write Send messages to a terminal
mesg Prohibit talk/write
Command Task
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer
Printing
Command Task
lpr Print files
lpq View print queue
lprm Remove print jobs
X
Volksgeist Technologies LLP Vasundhara Presented By Tejveer

Mais conteúdo relacionado

Mais procurados (20)

Linux commands
Linux commands Linux commands
Linux commands
 
Basic Unix
Basic UnixBasic Unix
Basic Unix
 
Linux Shell Basics
Linux Shell BasicsLinux Shell Basics
Linux Shell Basics
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
Linux
Linux Linux
Linux
 
Unix intro
Unix introUnix intro
Unix intro
 
Basic unix
Basic unixBasic unix
Basic unix
 
An a z index of the bash commands
An a z index of the bash commandsAn a z index of the bash commands
An a z index of the bash commands
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
 
3.1.a linux commands reference
3.1.a linux commands reference3.1.a linux commands reference
3.1.a linux commands reference
 
One Page Linux Manual
One Page Linux ManualOne Page Linux Manual
One Page Linux Manual
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Linux
LinuxLinux
Linux
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Basic C L I
Basic  C L IBasic  C L I
Basic C L I
 
Basic Linux commands
Basic Linux commandsBasic Linux commands
Basic Linux commands
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Basic commands
Basic commandsBasic commands
Basic commands
 

Destaque (9)

Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architecture
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file system
 
Advantages of tree structured directories(56(1)
Advantages of tree structured directories(56(1)Advantages of tree structured directories(56(1)
Advantages of tree structured directories(56(1)
 
windows vs Linux
windows vs Linuxwindows vs Linux
windows vs Linux
 
File system.
File system.File system.
File system.
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
comparing windows and linux ppt
comparing windows and linux pptcomparing windows and linux ppt
comparing windows and linux ppt
 
File system
File systemFile system
File system
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
 

Semelhante a Linux_commands

Applecmdlista zs
Applecmdlista zsApplecmdlista zs
Applecmdlista zsBen Pope
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manualSaikat Rakshit
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manualCraig Cannon
 
Unit 7
Unit 7Unit 7
Unit 7siddr
 
Linux file system nevigation
Linux file system nevigationLinux file system nevigation
Linux file system nevigationhetaldobariya
 
Kali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdfKali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdfRohitKumar761251
 
Quick guide of the most common linux commands
Quick guide of the most common linux commandsQuick guide of the most common linux commands
Quick guide of the most common linux commandsCarlos Enrique
 
Management file and directory in linux
Management file and directory in linuxManagement file and directory in linux
Management file and directory in linuxZkre Saleh
 
Linux Command Line - By Ranjan Raja
Linux Command Line - By Ranjan Raja Linux Command Line - By Ranjan Raja
Linux Command Line - By Ranjan Raja Ranjan Raja
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.pptLuigysToro
 
The structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsThe structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsBITS
 

Semelhante a Linux_commands (20)

Linux referencecard
Linux referencecardLinux referencecard
Linux referencecard
 
Linux
LinuxLinux
Linux
 
Applecmdlista zs
Applecmdlista zsApplecmdlista zs
Applecmdlista zs
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manual
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manual
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Unit 7
Unit 7Unit 7
Unit 7
 
Linux file system nevigation
Linux file system nevigationLinux file system nevigation
Linux file system nevigation
 
Kali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdfKali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdf
 
Kali linux commands
Kali linux commandsKali linux commands
Kali linux commands
 
Quick guide of the most common linux commands
Quick guide of the most common linux commandsQuick guide of the most common linux commands
Quick guide of the most common linux commands
 
Management file and directory in linux
Management file and directory in linuxManagement file and directory in linux
Management file and directory in linux
 
Linux Command Line - By Ranjan Raja
Linux Command Line - By Ranjan Raja Linux Command Line - By Ranjan Raja
Linux Command Line - By Ranjan Raja
 
Basics of Linux
Basics of LinuxBasics of Linux
Basics of Linux
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.ppt
 
The structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsThe structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformatics
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux
LinuxLinux
Linux
 
Introduction to linux day1
Introduction to linux day1Introduction to linux day1
Introduction to linux day1
 
Linux
LinuxLinux
Linux
 

Mais de Rohit Kumar

Methology of web development
Methology of web developmentMethology of web development
Methology of web developmentRohit Kumar
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & featuresRohit Kumar
 
Rohit kumar EX423
Rohit kumar EX423Rohit kumar EX423
Rohit kumar EX423Rohit Kumar
 
Rohit kumar RHCE
Rohit kumar RHCERohit kumar RHCE
Rohit kumar RHCERohit Kumar
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Description of linux and windows
Description of linux and windowsDescription of linux and windows
Description of linux and windowsRohit Kumar
 
What is open source
What is open sourceWhat is open source
What is open sourceRohit Kumar
 
Open source technology
Open source technologyOpen source technology
Open source technologyRohit Kumar
 
Open source license
Open source licenseOpen source license
Open source licenseRohit Kumar
 
Using VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarUsing VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarRohit Kumar
 

Mais de Rohit Kumar (10)

Methology of web development
Methology of web developmentMethology of web development
Methology of web development
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
 
Rohit kumar EX423
Rohit kumar EX423Rohit kumar EX423
Rohit kumar EX423
 
Rohit kumar RHCE
Rohit kumar RHCERohit kumar RHCE
Rohit kumar RHCE
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Description of linux and windows
Description of linux and windowsDescription of linux and windows
Description of linux and windows
 
What is open source
What is open sourceWhat is open source
What is open source
 
Open source technology
Open source technologyOpen source technology
Open source technology
 
Open source license
Open source licenseOpen source license
Open source license
 
Using VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarUsing VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit Kumar
 

Último

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Último (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Linux_commands

  • 1. X Usefull Commands forUsefull Commands for RedhatRedhat Volksgeist Technologies LLP Vasundhara Presented By Tejveer Presented By TEJVEER SINGH ID:VGT136T
  • 2. X IntrductionIntrduction Volksgeist Technologies LLP Vasundhara Presented By Tejveer The Linux Directory Layout File/Directory Basics File Viewing File Properties File Compression File Comparison File Text Manipulation Disks and File Systems File Location Backups and Remote Storage Audio and Video Hosts Spelling Operations Networking Printing
  • 3. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Directory Description /bin Essential command binaries (programs)are stored here(bash, ls, mount,tetc.) /boot Static files of the boot loader. /dev Device files. In Linux, hardware devices are acceessd just like other files, andthey are kept under this directory. /etc Host-specific system configuration files. /home Location of users' personal home directories (e.g. /home/Raj). /lib Essential shared libraries and kernel modules. The Linux Directory Layout
  • 4. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Directory Description /proc Process information pseudo-filesystem. An interface to kernel data structures. /root The root (superuser) home directory. /sbin Essential system binaries (fdisk, fsck, init, etc). /tmp Temporary files. All users have permission to place temporary files here. /usr The base directory for most shareable, read-only data (programs, l ibraries,documentation, and much ore). /usr/bin Most user programs are kept here (cc, find, du, etc.). /usr/include Header files for compiling C programs.
  • 5. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Directory Description /usr/lib Libraries for most binary programs. /usr/sbin Non-vital system binaries (lpd, useradd, etc.) /usr/share Architecture-independent data (icons, backgrounds, documentation, terminfo, man pages, etc.). /usr/src Program source code. E.g. The Linux Kernel, source RPMs, etc. /usr/X11R6 The X Window System /var Variable data: mail and printer spools, log files, lock files, etc. /usr/local “Locally” installed files. This directory only really matters in environments where files are stored on the network. Locally- installed files go in /usr/local/bin, /usr/local/lib, etc.). Also often used forsoftware packages installed from source,or software not officially shipped with the distribution.
  • 6. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File/Directory Basics Command Task ls List files cp Copy files mv Rename files rm Delete files ln Link files cd Change directory pwd Print current directory name mkdir Create directory rmdir Delete directory
  • 7. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File Viewing Command Task cat View files less Page through files head View file beginning tail View ending of file nl Number lines of file od View binary data of file Xxd View binary data with charecter gv View Postscript/PDF files xdvi View TeX DVI files
  • 8. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File Properties Command Task stat Display file attributes wc Count bytes/words/lines du Measure disk usage file Identify file types /ASCII Files touch Create new file timestamps chown Change file owner chgrp Change file group chmod Change file rotections/Permision chattr Change advanced file attributes/ Special Charecters lsattr List advanced file attributes
  • 9. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File Compression Command Task gzip Compress files (GNU Zip) compress Compress files (Unix) bzip2 Compress files (BZip2) zip Compress files (Windows Zip)
  • 10. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File Comparison Command Task diff Compare files line by line comm Compare sorted files cmp Compare files byte by byte md5sum Compute checksums
  • 11. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File Text Manipulation Command Task grep Search text for matching lines cut Extract columns paste Append columns tr Translate characters sort Sort lines uniq Locate identical lines tee Copy stdin to a file and to stdout simultaneously
  • 12. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Disks and File Systems Command Task df Show free disk space file & Dir. mount Make a disk accessible fsck Check a disk for errors sync Flush disk caches
  • 13. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer File Location Command Task find Locate files slocate Locate files via index which Locate commands whereis Locate standard files
  • 14. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Backups and Remote Storage Command Task mt Control a tape drive dump Back up a disk restore Restore a dump tar Read/write tape archives cdrecord Burn a CD rsync Mirror a set of files
  • 15. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Audio and Video Command Task grip Play CDs and rip MP3s xmms Play audio files cdparanoia Rip audio audacity Edit audio xcdroast Burn CDs
  • 16. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Hosts Command Task uname Print system information hostname Print the system’s hostname ifconfig Set/display network information host Look up DNS whois Look up domain registrants ping Check if host is reachable traceroute View network path to a host
  • 17. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Spelling Operations Command Task look Look up spelling aspell Check spelling interactively spell Check spelling in batch
  • 18. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Networking Command Task ssh Securely log into remote hosts telnet Log into remote hosts scp Securely copy files between hosts sftp Securely files transfer between hosts ftp Copy /Transfer files between hosts evolution GUI email client mutt Text-based email client mail Minimal email client
  • 19. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer mozilla Web browser lynx Text-only web browser wget Retrieve web pages to disk slrn Read Usenet news gaim Instant messaging/IRC talk Linux/Unix chat write Send messages to a terminal mesg Prohibit talk/write Command Task
  • 20. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer Printing Command Task lpr Print files lpq View print queue lprm Remove print jobs
  • 21. X Volksgeist Technologies LLP Vasundhara Presented By Tejveer