SlideShare uma empresa Scribd logo
1 de 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]

Mais conteúdo relacionado

Mais procurados

Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux Harish R
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linuxPapu Kumar
 
Introduction to Shell script
Introduction to Shell scriptIntroduction to Shell script
Introduction to Shell scriptBhavesh Padharia
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic CommandsHanan Nmr
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scriptingVIKAS TIWARI
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file systemTaaanu01
 
File permission in linux
File permission in linuxFile permission in linux
File permission in linuxPrakash Poudel
 
Intro to Linux Shell Scripting
Intro to Linux Shell ScriptingIntro to Linux Shell Scripting
Intro to Linux Shell Scriptingvceder
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 
Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 
Users and groups in Linux
Users and groups in LinuxUsers and groups in Linux
Users and groups in LinuxKnoldus Inc.
 

Mais procurados (20)

Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
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
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linux
 
Linux commands
Linux commands Linux commands
Linux commands
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
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
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
File permission in linux
File permission in linuxFile permission in linux
File permission in linux
 
Intro to Linux Shell Scripting
Intro to Linux Shell ScriptingIntro to Linux Shell Scripting
Intro to Linux Shell Scripting
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Users and groups
Users and groupsUsers and groups
Users and groups
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Vi editor in linux
Vi editor in linuxVi editor in linux
Vi editor in linux
 
Users and groups in Linux
Users and groups in LinuxUsers and groups in Linux
Users and groups in Linux
 

Destaque (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 Commands
Linux CommandsLinux Commands
Linux Commands
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
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
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
php
phpphp
php
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linux
 
Shell programming
Shell programmingShell programming
Shell programming
 
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
 

Semelhante a Linux commands

Semelhante a 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
 

Mais 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
 

Último

Call Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCR
Call Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCRCall Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCR
Call Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCRasmaqueen5
 
Properties for Sale in Istanbul with Schools and Parks | Antalya Development
Properties for Sale in Istanbul with Schools and Parks | Antalya DevelopmentProperties for Sale in Istanbul with Schools and Parks | Antalya Development
Properties for Sale in Istanbul with Schools and Parks | Antalya DevelopmentAntalya Development
 
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your NeedsKohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needsaidasheikh47
 
M3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, NoidaM3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, Noidasarak0han45400
 
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️soniya singh
 
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In DelhiLow Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhiasmaqueen5
 
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
 
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|AkshayJoshi575980
 
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
SVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property BroadcastSVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property BroadcastSVN International Corp.
 
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
 
Majestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdfMajestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdfBabyrudram
 
Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...
Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...
Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...asmaqueen5
 
Mahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfMahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfBabyrudram
 
Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Purva Soukhyam in Guduvancheri Chennai.pdf
Purva Soukhyam in Guduvancheri Chennai.pdfPurva Soukhyam in Guduvancheri Chennai.pdf
Purva Soukhyam in Guduvancheri Chennai.pdfpritika141199
 
9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi
9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi
9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhidelhimodel235
 
Greater Vancouver Realtors Statistics Package April 2024
Greater Vancouver Realtors Statistics Package April 2024Greater Vancouver Realtors Statistics Package April 2024
Greater Vancouver Realtors Statistics Package April 2024VickyAulakh1
 
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
 
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCRGirls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCRasmaqueen5
 

Último (20)

Call Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCR
Call Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCRCall Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCR
Call Girls in Karkardooma Delhi +91 84487779280}Woman Seeking Man in Delhi NCR
 
Properties for Sale in Istanbul with Schools and Parks | Antalya Development
Properties for Sale in Istanbul with Schools and Parks | Antalya DevelopmentProperties for Sale in Istanbul with Schools and Parks | Antalya Development
Properties for Sale in Istanbul with Schools and Parks | Antalya Development
 
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your NeedsKohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
 
M3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, NoidaM3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, Noida
 
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
 
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In DelhiLow Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
 
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
 
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
 
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
 
SVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property BroadcastSVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property Broadcast
 
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...
 
Majestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdfMajestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdf
 
Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...
Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...
Call girls in new Ashok NagarDelhi꧁ 8447779280꧂ Escort Service Women Seeking ...
 
Mahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfMahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdf
 
Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Vasant Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Purva Soukhyam in Guduvancheri Chennai.pdf
Purva Soukhyam in Guduvancheri Chennai.pdfPurva Soukhyam in Guduvancheri Chennai.pdf
Purva Soukhyam in Guduvancheri Chennai.pdf
 
9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi
9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi
9990771857 Call Girls Dwarka Sector 9 Delhi (Call Girls ) Delhi
 
Greater Vancouver Realtors Statistics Package April 2024
Greater Vancouver Realtors Statistics Package April 2024Greater Vancouver Realtors Statistics Package April 2024
Greater Vancouver Realtors Statistics Package April 2024
 
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
 
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCRGirls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
 

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]