SlideShare une entreprise Scribd logo
1  sur  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]

Contenu connexe

Tendances

Tendances (20)

Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programming
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Introduction to Shell script
Introduction to Shell scriptIntroduction to Shell script
Introduction to Shell script
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Linux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating System
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
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 presentation
Linux presentationLinux presentation
Linux presentation
 

En vedette (20)

Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Linux ppt
Linux pptLinux 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 Commands
Linux CommandsLinux Commands
Linux Commands
 
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
 

Similaire à Linux commands

Similaire à 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
 

Plus de 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
 

Dernier

Eldeco Dwarka Project In Delhi-brochure.pdf.pdf
Eldeco Dwarka Project In Delhi-brochure.pdf.pdfEldeco Dwarka Project In Delhi-brochure.pdf.pdf
Eldeco Dwarka Project In Delhi-brochure.pdf.pdfkratirudram
 
David Litt Foreclosure Specialist - Your Partner in Real Estate Success
David Litt Foreclosure Specialist - Your Partner in Real Estate SuccessDavid Litt Foreclosure Specialist - Your Partner in Real Estate Success
David Litt Foreclosure Specialist - Your Partner in Real Estate SuccessDavid Litt
 
Premium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road BengaluruPremium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road BengaluruShivaSeo3
 
Prestige Sancoale Goa Residneces Brochure.pdf
Prestige Sancoale Goa Residneces Brochure.pdfPrestige Sancoale Goa Residneces Brochure.pdf
Prestige Sancoale Goa Residneces Brochure.pdfkishor21012022
 
Kohinoor Hinjewadi Phase 2 Pune E-Brochure.pdf
Kohinoor Hinjewadi Phase 2 Pune  E-Brochure.pdfKohinoor Hinjewadi Phase 2 Pune  E-Brochure.pdf
Kohinoor Hinjewadi Phase 2 Pune E-Brochure.pdfManishSaxena95
 
Call Girls In Seelampur Delhi ↬8447779280}Seelampur Escorts Service In Delhi...
Call Girls In Seelampur  Delhi ↬8447779280}Seelampur Escorts Service In Delhi...Call Girls In Seelampur  Delhi ↬8447779280}Seelampur Escorts Service In Delhi...
Call Girls In Seelampur Delhi ↬8447779280}Seelampur Escorts Service In Delhi...asmaqueen5
 
Kohinoor Teiko Hinjewadi Phase 2 Pune E-Brochure.pdf
Kohinoor Teiko Hinjewadi Phase 2 Pune  E-Brochure.pdfKohinoor Teiko Hinjewadi Phase 2 Pune  E-Brochure.pdf
Kohinoor Teiko Hinjewadi Phase 2 Pune E-Brochure.pdfManishSaxena95
 
Parksville 96 Surrey Floor Plans May 2024
Parksville 96 Surrey Floor Plans May 2024Parksville 96 Surrey Floor Plans May 2024
Parksville 96 Surrey Floor Plans May 2024VickyAulakh1
 
Mahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfMahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfBabyrudram
 
2k Shot Call girls Karol Bagh Delhi 9205541914
2k Shot Call girls Karol Bagh Delhi 92055419142k Shot Call girls Karol Bagh Delhi 9205541914
2k Shot Call girls Karol Bagh Delhi 9205541914Delhi Call girls
 
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...ApartmentWala1
 
Vanam At Purva Soukhyam Guduvanchery.pdf.pdf
Vanam At Purva Soukhyam Guduvanchery.pdf.pdfVanam At Purva Soukhyam Guduvanchery.pdf.pdf
Vanam At Purva Soukhyam Guduvanchery.pdf.pdfkratirudram
 
Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)Delhi Call girls
 
9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhidelhimodel235
 
2k Shot Call girls Aiims Delhi 9205541914
2k Shot Call girls Aiims Delhi 92055419142k Shot Call girls Aiims Delhi 9205541914
2k Shot Call girls Aiims Delhi 9205541914Delhi Call girls
 
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhidelhimodel235
 
9990771857 Call Girls Dwarka Sector 8 Delhi (Call Girls ) Delhi
9990771857 Call Girls  Dwarka Sector 8 Delhi (Call Girls ) Delhi9990771857 Call Girls  Dwarka Sector 8 Delhi (Call Girls ) Delhi
9990771857 Call Girls Dwarka Sector 8 Delhi (Call Girls ) Delhidelhimodel235
 
ACE Terra Yamuna Expressway | 8929888700
ACE Terra Yamuna Expressway | 8929888700ACE Terra Yamuna Expressway | 8929888700
ACE Terra Yamuna Expressway | 8929888700Truhomes
 
Acibadem Konaklari Uskudar - Listin Turkey
Acibadem Konaklari Uskudar - Listin TurkeyAcibadem Konaklari Uskudar - Listin Turkey
Acibadem Konaklari Uskudar - Listin TurkeyListing Turkey
 

Dernier (20)

Eldeco Dwarka Project In Delhi-brochure.pdf.pdf
Eldeco Dwarka Project In Delhi-brochure.pdf.pdfEldeco Dwarka Project In Delhi-brochure.pdf.pdf
Eldeco Dwarka Project In Delhi-brochure.pdf.pdf
 
David Litt Foreclosure Specialist - Your Partner in Real Estate Success
David Litt Foreclosure Specialist - Your Partner in Real Estate SuccessDavid Litt Foreclosure Specialist - Your Partner in Real Estate Success
David Litt Foreclosure Specialist - Your Partner in Real Estate Success
 
Premium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road BengaluruPremium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road Bengaluru
 
Prestige Sancoale Goa Residneces Brochure.pdf
Prestige Sancoale Goa Residneces Brochure.pdfPrestige Sancoale Goa Residneces Brochure.pdf
Prestige Sancoale Goa Residneces Brochure.pdf
 
Kohinoor Hinjewadi Phase 2 Pune E-Brochure.pdf
Kohinoor Hinjewadi Phase 2 Pune  E-Brochure.pdfKohinoor Hinjewadi Phase 2 Pune  E-Brochure.pdf
Kohinoor Hinjewadi Phase 2 Pune E-Brochure.pdf
 
Call Girls In Seelampur Delhi ↬8447779280}Seelampur Escorts Service In Delhi...
Call Girls In Seelampur  Delhi ↬8447779280}Seelampur Escorts Service In Delhi...Call Girls In Seelampur  Delhi ↬8447779280}Seelampur Escorts Service In Delhi...
Call Girls In Seelampur Delhi ↬8447779280}Seelampur Escorts Service In Delhi...
 
Kohinoor Teiko Hinjewadi Phase 2 Pune E-Brochure.pdf
Kohinoor Teiko Hinjewadi Phase 2 Pune  E-Brochure.pdfKohinoor Teiko Hinjewadi Phase 2 Pune  E-Brochure.pdf
Kohinoor Teiko Hinjewadi Phase 2 Pune E-Brochure.pdf
 
Parksville 96 Surrey Floor Plans May 2024
Parksville 96 Surrey Floor Plans May 2024Parksville 96 Surrey Floor Plans May 2024
Parksville 96 Surrey Floor Plans May 2024
 
Mahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfMahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdf
 
2k Shot Call girls Karol Bagh Delhi 9205541914
2k Shot Call girls Karol Bagh Delhi 92055419142k Shot Call girls Karol Bagh Delhi 9205541914
2k Shot Call girls Karol Bagh Delhi 9205541914
 
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
 
Vanam At Purva Soukhyam Guduvanchery.pdf.pdf
Vanam At Purva Soukhyam Guduvanchery.pdf.pdfVanam At Purva Soukhyam Guduvanchery.pdf.pdf
Vanam At Purva Soukhyam Guduvanchery.pdf.pdf
 
Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Huda City Centre (Gurgaon)
 
9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 3 Delhi (Call Girls) Delhi
 
2k Shot Call girls Aiims Delhi 9205541914
2k Shot Call girls Aiims Delhi 92055419142k Shot Call girls Aiims Delhi 9205541914
2k Shot Call girls Aiims Delhi 9205541914
 
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
 
Retail Center For Sale - 1019 River St., Belleville, WI
Retail Center For Sale - 1019 River St., Belleville, WIRetail Center For Sale - 1019 River St., Belleville, WI
Retail Center For Sale - 1019 River St., Belleville, WI
 
9990771857 Call Girls Dwarka Sector 8 Delhi (Call Girls ) Delhi
9990771857 Call Girls  Dwarka Sector 8 Delhi (Call Girls ) Delhi9990771857 Call Girls  Dwarka Sector 8 Delhi (Call Girls ) Delhi
9990771857 Call Girls Dwarka Sector 8 Delhi (Call Girls ) Delhi
 
ACE Terra Yamuna Expressway | 8929888700
ACE Terra Yamuna Expressway | 8929888700ACE Terra Yamuna Expressway | 8929888700
ACE Terra Yamuna Expressway | 8929888700
 
Acibadem Konaklari Uskudar - Listin Turkey
Acibadem Konaklari Uskudar - Listin TurkeyAcibadem Konaklari Uskudar - Listin Turkey
Acibadem Konaklari Uskudar - Listin Turkey
 

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]