SlideShare ist ein Scribd-Unternehmen logo
1 von 18
LINUX COMMANDS INTRODUCTION TO LINUX:  Linux is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems. Linux has a reputation as a very efficient and fast-performing system. Linux's kernel (the central part of the operating system) was developed by Linus Torvalds at the University of Helsinki in Finland. To complete the operating system, Torvalds and other team members made use of system components developed by members of the Free Software Foundation for the GNU Project.  BASIC LINUX COMMANDS 1.bc COMMAND: bc command is used for command line calculator. It is similar to basic calculator. By using which we can do basic mathematical calculations. SYNTAX: The Syntax is bc [options]
2.cal COMMAND: cal command is used to display the calendar. SYNTAX: The Syntax is cal [options] [month] [year] 3.clear COMMAND: This command clears the terminal screen. SYNTAX: The Syntax is Clear 4.cd COMMAND: cd command is used to change the directory. SYNTAX: The Syntax is cd [directory | ~ | ./ | ../ | - ]
5.cp COMMAND: cp command copy files from one location to another. If the destination is an existing file, then the file is overwritten; if the destination is an existing directory, the file is copied into the directory (the directory is not overwritten). SYNTAX: The Syntax is cp [OPTIONS]... SOURCE DEST 6.date COMMAND: date command prints the date and time. SYNTAX: The Syntax is date  [options] [+format] [date] 7.echo COMMAND: echo command prints the given input string to standard output. SYNTAX: The Syntax is echo [options..] [string]
8.grep COMMAND: grep command selects and prints the lines from a file which matches a given string or pattern. SYNTAX: The Syntax is grep [options] pattern [file] 9.hostname COMMAND: hostname specifies the name of the host. SYNTAX: The Syntax is hostname [-a | -d | -f | -h | -i | -s] 10.head COMMAND: head command is used to display the first ten lines of a file, and also specifies how many lines to display. SYNTAX: The Syntax is head [options] filename
11.hostid COMMAND: hostid command prints the numeric identifier or id of the current host in hexadecimal. SYNTAX: The Syntax is Hostid 12.id COMMAND: id command prints the effective(current) and real userid(UID)s and groupid(GID)s. SYNTAX: The Syntax is id [options] 13.kill COMMAND: kill command is used to kill the background process. SYNTAX: The Syntax is kill [-s] [-l] %pid
14.last COMMAND: last command is used to display the last logged in users list. Last logged in users informations are read from the file /var/log/wtmp. SYNTAX: The Syntax is last [options] 15.ls COMMAND: ls command lists the files and directories under current working directory. SYNTAX: The Syntax is ls [OPTIONS]... [FILE] 16.man COMMAND: man command which is short for manual, provides in depth information about the requested command (or) allows users to search for commands related to a particular keyword. SYNTAX: The Syntax is man commandname [options]
17.mkdir COMMAND: mkdir command is used to create one or more directories. SYNTAX: The Syntax is mkdir [options] directories 18.mv COMMAND: mv command which is short for move. It is used to move/rename file from one directory to another. mv command is different from cp command as it completely removes the file from the source and moves to the directory specified, where cp command just copies the content from one file to another. SYNTAX: The Syntax is mv [-f] [-i] oldname newname 19.passwd COMMAND: passwd command is used to change your password. SYNTAX: The Syntax is passwd [options]
20.pwd COMMAND: pwd - Print Working Directory. pwd command prints the full filename of the current working directory. SYNTAX: The Syntax is pwd [options] 21.rm COMMAND: rm linux command is used to remove/delete the file from the directory. SYNTAX: The Syntax is rm [options..] [file | directory] 22.rmdir COMMAND: rmdir command is used to delete/remove a directory and its subdirectories. SYNTAX: The Syntax is rmdir [options..] Directory
 
23.sort COMMAND: sort command is used to sort the lines in a text file. SYNTAX: The Syntax is sort [options] filename 24.Shutdown COMMAND: Shutdown - Turn off the computer immediately or at a specified time. SYNTAX: The Syntax is /sbin/shutdown [-t sec] [-arkhncfFHP] time [warning-message] 25.tail COMMAND: tail command is used to display the last or bottom part of the file. By default it displays last 10 lines of a file. SYNTAX: The Syntax is tail [options] filename
26.useradd COMMAND: useradd - Adds new user to the linux system, with specified user-name. When a new user is added then a corresponding entry is made in files /etc/passwd, /etc/group and /etc/shadow SYNTAX: The Syntax is useradd [options] [username] 27.who COMMAND: who command can list the names of users currently logged in, their terminal, the time they have been logged in, and the name of the host from which they have logged in. SYNTAX: The Syntax is who [options] [file] 28.whois COMMAND: whois command lists the information about the domain owner of the given domain. SYNTAX: The Syntax is whois [option] query
29.alias COMMAND: alias command allows you to create a shortcut to a command. As the name indicates, you can set alias/shortcut name for the commands/paths which is too longer to remember. SYNTAX: The Syntax is alias [options] [ AliasName [ =String ] ] 30.file COMMAND: file command tells you if the object you are looking at is a file or a directory. SYNTAX: The Syntax is file [options] directoryname/filename 31.find COMMAND: find command finds one or more files assuming that you know their approximate filenames. SYNTAX: The Syntax is find path [options] .
32.free COMMAND: free command displays information about free and used memory on the system. SYNTAX: The Syntax is free [options] [-V] 33.finger COMMAND: finger command displays the user's login name, real name, terminal name and write status (as a ''*'' after the terminal name if write permission is denied), idle time, login time, office location and office phone number.. SYNTAX: The Syntax is finger [-lmsp] [user ...] [user@host ...] 34.fgrep COMMAND: fgrep command is used to search one or more files for lines that match the given string or word. fgrep is faster than grep search, but less flexible: it can only find fixed text, not regular expressions. SYNTAX: The Syntax is fgrep [options] pattern [file]
35.fg COMMAND: fg command is used to place a job in foreground. SYNTAX: The Syntax is fg [specify job] 36.fdisk COMMAND: fdisk command is used for partition table manipulator. Hard disks can be divided into one or more logical disks called partitions. SYNTAX: The Syntax is fdisk [options] 37.lastlog COMMAND: lastlog command is used to print the last login times for system accounts. Login information is read from the file /var/log/lastlog. SYNTAX: The Syntax is lastlog [options]
38.less COMMAND: less command is used to display text in the terminal screen. It just prints the text in the given file, you cannot edit or manipulate the text here. To display the file from the specified line, enter the line number followed by colon(:). It allows Forward and backward movement in the file. SYNTAX: The Syntax is less [options] filename 39.link COMMAND: link command is used to create a link to a file. It is also called as hard link. Inode will be same for source and destination. SYNTAX: The Syntax is link existingfilename newfilename (or) link source destination 40.ln COMMAND: ln command is used to create link to a file (or) directory. It helps to provide soft link for desired files. Inode will be different for source and destination. SYNTAX: The Syntax is ln [options] existingfile(or directory)name newfile(or directory)name
41.chmod command - change file mode bits SYNTAX chmod  [OPTION]...  MODE[,MODE]... FILE... 42.  cmp command - compare two files byte by byte SYNTAX cmp  [OPTION]...  FILE1  [FILE2  [SKIP1 [SKIP2]]] 43.  cmp  command - compare two files byte by byte SYNTAX cmp  [OPTION]...  FILE1  [FILE2  [SKIP1 [SKIP2]]] 44.  write command — send a message to another user SYNTAX write user [ttyname]
45.ssh command  — OpenSSH SSH client (remote login program) SYNTAX ssh [-1246AaCfgKkMNnqsTtVvXxY] 46.whoami  command - print effective userid SYNTAX whoami [OPTION]... 47.  lpr  command - print files SYNTAX lpr  [  -E  ] [ -H server[:port] ] [ -U username ] [ -P  destination[/instance] ]  [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o option[=value] ] [ -p] [ -q ] [ -r ] [ -C/J/T title ] [ file(s) ]
48. vim  command -  Vi IMproved, a programmers text editor SYNTAX vim [options] [file ..] 49.  THE ping COMMAND ping, ping6 - send ICMP ECHO_REQUEST to network hosts 50.THE wall COMMAND wall — write a message to users SYNTAX wall [file]

Weitere ähnliche Inhalte

Was ist angesagt?

Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examplesabclearnn
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linuxshravan saini
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Wave Digitech
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory StructureKevin OBrien
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemSadia Bashir
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command LineAnuchit Chalothorn
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux Harish R
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linuxVarnnit Jain
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Scriptsbmguys
 

Was ist angesagt? (20)

Shell Scripting
Shell ScriptingShell Scripting
Shell Scripting
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
 
Linux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell ScriptingLinux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell Scripting
 
Basics of shell programming
Basics of shell programmingBasics of shell programming
Basics of shell programming
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Vi editor
Vi editorVi editor
Vi editor
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linux
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 

Andere mochten auch

Andere mochten auch (20)

Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
UNIX/Linux training
UNIX/Linux trainingUNIX/Linux training
UNIX/Linux training
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Operating system critical section
Operating system   critical sectionOperating system   critical section
Operating system critical section
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Vi Editor
Vi EditorVi Editor
Vi Editor
 
Vi editor
Vi editorVi editor
Vi editor
 
php
phpphp
php
 
Vi editor in linux
Vi editor in linuxVi editor in linux
Vi editor in linux
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linux
 
Security, Hack1ng and Hardening on Linux - an Overview
Security, Hack1ng and Hardening on Linux - an OverviewSecurity, Hack1ng and Hardening on Linux - an Overview
Security, Hack1ng and Hardening on Linux - an Overview
 
Unix commands
Unix commandsUnix commands
Unix commands
 
How can Private Cloud UC enable your business
How can Private Cloud UC enable your businessHow can Private Cloud UC enable your business
How can Private Cloud UC enable your business
 
Process management
Process managementProcess management
Process management
 
Linux in Urdu
 Linux in Urdu  Linux in Urdu
Linux in Urdu
 

Ähnlich wie Linux commands

Ähnlich wie Linux commands (20)

Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Raj linux
Raj linux Raj linux
Raj linux
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 
Group13
Group13Group13
Group13
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
LINUX
LINUXLINUX
LINUX
 
Linux
LinuxLinux
Linux
 
Unix_QT.ppsx
Unix_QT.ppsxUnix_QT.ppsx
Unix_QT.ppsx
 

Mehr von Balakumaran Arunachalam (10)

Campus deck
Campus deckCampus deck
Campus deck
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Greenhouse effect
Greenhouse effectGreenhouse effect
Greenhouse effect
 
Career path non technical
Career path non technicalCareer path non technical
Career path non technical
 
Java adv
Java advJava adv
Java adv
 
Css
CssCss
Css
 
Installing and configuring apache
Installing and configuring apacheInstalling and configuring apache
Installing and configuring apache
 
Tags in html
Tags in htmlTags in html
Tags in html
 
Sql installation
Sql installationSql installation
Sql installation
 
Sql commands
Sql commandsSql commands
Sql commands
 

Kürzlich hochgeladen

Kolte Patil Universe Hinjewadi Pune Brochure.pdf
Kolte Patil Universe Hinjewadi Pune Brochure.pdfKolte Patil Universe Hinjewadi Pune Brochure.pdf
Kolte Patil Universe Hinjewadi Pune Brochure.pdfPrachiRudram
 
Choose Noida's Leading Architect
Choose    Noida's    Leading   ArchitectChoose    Noida's    Leading   Architect
Choose Noida's Leading ArchitectMM Design Studio
 
Call Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCR
Call Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCRCall Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCR
Call Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCRasmaqueen5
 
Experion Elements Sector 45 Noida_Brochure.pdf.pdf
Experion Elements Sector 45 Noida_Brochure.pdf.pdfExperion Elements Sector 45 Noida_Brochure.pdf.pdf
Experion Elements Sector 45 Noida_Brochure.pdf.pdfkratirudram
 
Everything you ever Wanted to Know about Florida Property Tax Exemptions.pdf
Everything you ever Wanted to Know about Florida Property Tax Exemptions.pdfEverything you ever Wanted to Know about Florida Property Tax Exemptions.pdf
Everything you ever Wanted to Know about Florida Property Tax Exemptions.pdfTim Wilmath
 
Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857
Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857
Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857delhimodel235
 
Radiance Majestic Valasaravakkam Chennai.pdf
Radiance Majestic Valasaravakkam Chennai.pdfRadiance Majestic Valasaravakkam Chennai.pdf
Radiance Majestic Valasaravakkam Chennai.pdfashiyadav24
 
LCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptx
LCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptxLCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptx
LCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptxTom Blefko
 
Prestige Sector 94 at Noida E Brochure.pdf
Prestige Sector 94 at Noida E Brochure.pdfPrestige Sector 94 at Noida E Brochure.pdf
Prestige Sector 94 at Noida E Brochure.pdfsarak0han45400
 
Prestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdf
Prestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdfPrestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdf
Prestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdffaheemali990101
 
Mahindra Vista Kandivali East Mumbai Brochure.pdf
Mahindra Vista Kandivali East Mumbai Brochure.pdfMahindra Vista Kandivali East Mumbai Brochure.pdf
Mahindra Vista Kandivali East Mumbai Brochure.pdfPrachiRudram
 
SVN Live 4.22.24 Weekly Property Broadcast
SVN Live 4.22.24 Weekly Property BroadcastSVN Live 4.22.24 Weekly Property Broadcast
SVN Live 4.22.24 Weekly Property BroadcastSVN International Corp.
 
What Is Biophilic Design .pdf
What Is Biophilic Design            .pdfWhat Is Biophilic Design            .pdf
What Is Biophilic Design .pdfyamunaNMH
 
Pride Wonderland Dhanori Pune Brochure.pdf
Pride Wonderland Dhanori Pune Brochure.pdfPride Wonderland Dhanori Pune Brochure.pdf
Pride Wonderland Dhanori Pune Brochure.pdfabbu831446
 
Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...
Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...
Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...AditiAlishetty
 
MADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdf
MADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdfMADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdf
MADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdfknoxdigital1
 
DLF Plots Sriperumbudur in Chennai E Brochure Pdf
DLF Plots Sriperumbudur in Chennai E Brochure PdfDLF Plots Sriperumbudur in Chennai E Brochure Pdf
DLF Plots Sriperumbudur in Chennai E Brochure Pdfashiyadav24
 
Ajmera Prive at Juhu, Mumbai E-Brochure.pdf
Ajmera Prive at Juhu, Mumbai  E-Brochure.pdfAjmera Prive at Juhu, Mumbai  E-Brochure.pdf
Ajmera Prive at Juhu, Mumbai E-Brochure.pdfManishSaxena95
 
How to Navigate the Eviction Process in Pennsylvania: A Landlord's Guide
How to Navigate the Eviction Process in Pennsylvania: A Landlord's GuideHow to Navigate the Eviction Process in Pennsylvania: A Landlord's Guide
How to Navigate the Eviction Process in Pennsylvania: A Landlord's GuideezLandlordForms
 

Kürzlich hochgeladen (20)

Kolte Patil Universe Hinjewadi Pune Brochure.pdf
Kolte Patil Universe Hinjewadi Pune Brochure.pdfKolte Patil Universe Hinjewadi Pune Brochure.pdf
Kolte Patil Universe Hinjewadi Pune Brochure.pdf
 
Choose Noida's Leading Architect
Choose    Noida's    Leading   ArchitectChoose    Noida's    Leading   Architect
Choose Noida's Leading Architect
 
Call Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCR
Call Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCRCall Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCR
Call Girls In Peeragarhi, Delhi↫8447779280↬Call Girls in Peeragarhi Delhi NCR
 
Experion Elements Sector 45 Noida_Brochure.pdf.pdf
Experion Elements Sector 45 Noida_Brochure.pdf.pdfExperion Elements Sector 45 Noida_Brochure.pdf.pdf
Experion Elements Sector 45 Noida_Brochure.pdf.pdf
 
Everything you ever Wanted to Know about Florida Property Tax Exemptions.pdf
Everything you ever Wanted to Know about Florida Property Tax Exemptions.pdfEverything you ever Wanted to Know about Florida Property Tax Exemptions.pdf
Everything you ever Wanted to Know about Florida Property Tax Exemptions.pdf
 
Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857
Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857
Low Rate Call Girls in Lajpat Nagar Delhi Call 9990771857
 
Radiance Majestic Valasaravakkam Chennai.pdf
Radiance Majestic Valasaravakkam Chennai.pdfRadiance Majestic Valasaravakkam Chennai.pdf
Radiance Majestic Valasaravakkam Chennai.pdf
 
LCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptx
LCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptxLCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptx
LCAR Unit 22 - Leasing and Property Management - 14th Edition Revised.pptx
 
Prestige Sector 94 at Noida E Brochure.pdf
Prestige Sector 94 at Noida E Brochure.pdfPrestige Sector 94 at Noida E Brochure.pdf
Prestige Sector 94 at Noida E Brochure.pdf
 
young call girls in Lajpat Nagar,🔝 9953056974 🔝 escort Service
young call girls in Lajpat Nagar,🔝 9953056974 🔝 escort Serviceyoung call girls in Lajpat Nagar,🔝 9953056974 🔝 escort Service
young call girls in Lajpat Nagar,🔝 9953056974 🔝 escort Service
 
Prestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdf
Prestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdfPrestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdf
Prestige Rainbow Waters Raidurgam, Gachibowli Hyderabad E- Brochure.pdf
 
Mahindra Vista Kandivali East Mumbai Brochure.pdf
Mahindra Vista Kandivali East Mumbai Brochure.pdfMahindra Vista Kandivali East Mumbai Brochure.pdf
Mahindra Vista Kandivali East Mumbai Brochure.pdf
 
SVN Live 4.22.24 Weekly Property Broadcast
SVN Live 4.22.24 Weekly Property BroadcastSVN Live 4.22.24 Weekly Property Broadcast
SVN Live 4.22.24 Weekly Property Broadcast
 
What Is Biophilic Design .pdf
What Is Biophilic Design            .pdfWhat Is Biophilic Design            .pdf
What Is Biophilic Design .pdf
 
Pride Wonderland Dhanori Pune Brochure.pdf
Pride Wonderland Dhanori Pune Brochure.pdfPride Wonderland Dhanori Pune Brochure.pdf
Pride Wonderland Dhanori Pune Brochure.pdf
 
Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...
Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...
Affordable and Quality Construction SVTN's Signature Blend of Cost-Efficiency...
 
MADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdf
MADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdfMADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdf
MADHUGIRI FARM LAND BROCHURES (11)_compressed (1).pdf
 
DLF Plots Sriperumbudur in Chennai E Brochure Pdf
DLF Plots Sriperumbudur in Chennai E Brochure PdfDLF Plots Sriperumbudur in Chennai E Brochure Pdf
DLF Plots Sriperumbudur in Chennai E Brochure Pdf
 
Ajmera Prive at Juhu, Mumbai E-Brochure.pdf
Ajmera Prive at Juhu, Mumbai  E-Brochure.pdfAjmera Prive at Juhu, Mumbai  E-Brochure.pdf
Ajmera Prive at Juhu, Mumbai E-Brochure.pdf
 
How to Navigate the Eviction Process in Pennsylvania: A Landlord's Guide
How to Navigate the Eviction Process in Pennsylvania: A Landlord's GuideHow to Navigate the Eviction Process in Pennsylvania: A Landlord's Guide
How to Navigate the Eviction Process in Pennsylvania: A Landlord's Guide
 

Linux commands

  • 1. LINUX COMMANDS INTRODUCTION TO LINUX: Linux is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems. Linux has a reputation as a very efficient and fast-performing system. Linux's kernel (the central part of the operating system) was developed by Linus Torvalds at the University of Helsinki in Finland. To complete the operating system, Torvalds and other team members made use of system components developed by members of the Free Software Foundation for the GNU Project. BASIC LINUX COMMANDS 1.bc COMMAND: bc command is used for command line calculator. It is similar to basic calculator. By using which we can do basic mathematical calculations. SYNTAX: The Syntax is bc [options]
  • 2. 2.cal COMMAND: cal command is used to display the calendar. SYNTAX: The Syntax is cal [options] [month] [year] 3.clear COMMAND: This command clears the terminal screen. SYNTAX: The Syntax is Clear 4.cd COMMAND: cd command is used to change the directory. SYNTAX: The Syntax is cd [directory | ~ | ./ | ../ | - ]
  • 3. 5.cp COMMAND: cp command copy files from one location to another. If the destination is an existing file, then the file is overwritten; if the destination is an existing directory, the file is copied into the directory (the directory is not overwritten). SYNTAX: The Syntax is cp [OPTIONS]... SOURCE DEST 6.date COMMAND: date command prints the date and time. SYNTAX: The Syntax is date [options] [+format] [date] 7.echo COMMAND: echo command prints the given input string to standard output. SYNTAX: The Syntax is echo [options..] [string]
  • 4. 8.grep COMMAND: grep command selects and prints the lines from a file which matches a given string or pattern. SYNTAX: The Syntax is grep [options] pattern [file] 9.hostname COMMAND: hostname specifies the name of the host. SYNTAX: The Syntax is hostname [-a | -d | -f | -h | -i | -s] 10.head COMMAND: head command is used to display the first ten lines of a file, and also specifies how many lines to display. SYNTAX: The Syntax is head [options] filename
  • 5. 11.hostid COMMAND: hostid command prints the numeric identifier or id of the current host in hexadecimal. SYNTAX: The Syntax is Hostid 12.id COMMAND: id command prints the effective(current) and real userid(UID)s and groupid(GID)s. SYNTAX: The Syntax is id [options] 13.kill COMMAND: kill command is used to kill the background process. SYNTAX: The Syntax is kill [-s] [-l] %pid
  • 6. 14.last COMMAND: last command is used to display the last logged in users list. Last logged in users informations are read from the file /var/log/wtmp. SYNTAX: The Syntax is last [options] 15.ls COMMAND: ls command lists the files and directories under current working directory. SYNTAX: The Syntax is ls [OPTIONS]... [FILE] 16.man COMMAND: man command which is short for manual, provides in depth information about the requested command (or) allows users to search for commands related to a particular keyword. SYNTAX: The Syntax is man commandname [options]
  • 7. 17.mkdir COMMAND: mkdir command is used to create one or more directories. SYNTAX: The Syntax is mkdir [options] directories 18.mv COMMAND: mv command which is short for move. It is used to move/rename file from one directory to another. mv command is different from cp command as it completely removes the file from the source and moves to the directory specified, where cp command just copies the content from one file to another. SYNTAX: The Syntax is mv [-f] [-i] oldname newname 19.passwd COMMAND: passwd command is used to change your password. SYNTAX: The Syntax is passwd [options]
  • 8. 20.pwd COMMAND: pwd - Print Working Directory. pwd command prints the full filename of the current working directory. SYNTAX: The Syntax is pwd [options] 21.rm COMMAND: rm linux command is used to remove/delete the file from the directory. SYNTAX: The Syntax is rm [options..] [file | directory] 22.rmdir COMMAND: rmdir command is used to delete/remove a directory and its subdirectories. SYNTAX: The Syntax is rmdir [options..] Directory
  • 9.  
  • 10. 23.sort COMMAND: sort command is used to sort the lines in a text file. SYNTAX: The Syntax is sort [options] filename 24.Shutdown COMMAND: Shutdown - Turn off the computer immediately or at a specified time. SYNTAX: The Syntax is /sbin/shutdown [-t sec] [-arkhncfFHP] time [warning-message] 25.tail COMMAND: tail command is used to display the last or bottom part of the file. By default it displays last 10 lines of a file. SYNTAX: The Syntax is tail [options] filename
  • 11. 26.useradd COMMAND: useradd - Adds new user to the linux system, with specified user-name. When a new user is added then a corresponding entry is made in files /etc/passwd, /etc/group and /etc/shadow SYNTAX: The Syntax is useradd [options] [username] 27.who COMMAND: who command can list the names of users currently logged in, their terminal, the time they have been logged in, and the name of the host from which they have logged in. SYNTAX: The Syntax is who [options] [file] 28.whois COMMAND: whois command lists the information about the domain owner of the given domain. SYNTAX: The Syntax is whois [option] query
  • 12. 29.alias COMMAND: alias command allows you to create a shortcut to a command. As the name indicates, you can set alias/shortcut name for the commands/paths which is too longer to remember. SYNTAX: The Syntax is alias [options] [ AliasName [ =String ] ] 30.file COMMAND: file command tells you if the object you are looking at is a file or a directory. SYNTAX: The Syntax is file [options] directoryname/filename 31.find COMMAND: find command finds one or more files assuming that you know their approximate filenames. SYNTAX: The Syntax is find path [options] .
  • 13. 32.free COMMAND: free command displays information about free and used memory on the system. SYNTAX: The Syntax is free [options] [-V] 33.finger COMMAND: finger command displays the user's login name, real name, terminal name and write status (as a ''*'' after the terminal name if write permission is denied), idle time, login time, office location and office phone number.. SYNTAX: The Syntax is finger [-lmsp] [user ...] [user@host ...] 34.fgrep COMMAND: fgrep command is used to search one or more files for lines that match the given string or word. fgrep is faster than grep search, but less flexible: it can only find fixed text, not regular expressions. SYNTAX: The Syntax is fgrep [options] pattern [file]
  • 14. 35.fg COMMAND: fg command is used to place a job in foreground. SYNTAX: The Syntax is fg [specify job] 36.fdisk COMMAND: fdisk command is used for partition table manipulator. Hard disks can be divided into one or more logical disks called partitions. SYNTAX: The Syntax is fdisk [options] 37.lastlog COMMAND: lastlog command is used to print the last login times for system accounts. Login information is read from the file /var/log/lastlog. SYNTAX: The Syntax is lastlog [options]
  • 15. 38.less COMMAND: less command is used to display text in the terminal screen. It just prints the text in the given file, you cannot edit or manipulate the text here. To display the file from the specified line, enter the line number followed by colon(:). It allows Forward and backward movement in the file. SYNTAX: The Syntax is less [options] filename 39.link COMMAND: link command is used to create a link to a file. It is also called as hard link. Inode will be same for source and destination. SYNTAX: The Syntax is link existingfilename newfilename (or) link source destination 40.ln COMMAND: ln command is used to create link to a file (or) directory. It helps to provide soft link for desired files. Inode will be different for source and destination. SYNTAX: The Syntax is ln [options] existingfile(or directory)name newfile(or directory)name
  • 16. 41.chmod command - change file mode bits SYNTAX chmod [OPTION]... MODE[,MODE]... FILE... 42. cmp command - compare two files byte by byte SYNTAX cmp [OPTION]... FILE1 [FILE2 [SKIP1 [SKIP2]]] 43. cmp command - compare two files byte by byte SYNTAX cmp [OPTION]... FILE1 [FILE2 [SKIP1 [SKIP2]]] 44. write command — send a message to another user SYNTAX write user [ttyname]
  • 17. 45.ssh command — OpenSSH SSH client (remote login program) SYNTAX ssh [-1246AaCfgKkMNnqsTtVvXxY] 46.whoami command - print effective userid SYNTAX whoami [OPTION]... 47. lpr command - print files SYNTAX lpr [ -E ] [ -H server[:port] ] [ -U username ] [ -P destination[/instance] ] [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o option[=value] ] [ -p] [ -q ] [ -r ] [ -C/J/T title ] [ file(s) ]
  • 18. 48. vim command - Vi IMproved, a programmers text editor SYNTAX vim [options] [file ..] 49. THE ping COMMAND ping, ping6 - send ICMP ECHO_REQUEST to network hosts 50.THE wall COMMAND wall — write a message to users SYNTAX wall [file]