SlideShare a Scribd company logo
7
Most read
8
Most read
10
Most read
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]

More Related Content

What's hot (20)

PPT
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
PPT
Linux command ppt
kalyanineve
 
PPTX
Basic commands of linux
shravan saini
 
PDF
Shell scripting
Manav Prasad
 
PPTX
Linux file system
Md. Tanvir Hossain
 
PPTX
Filepermissions in linux
Subashini Pandiarajan
 
PPTX
Introduction to linux ppt
Omi Vichare
 
PPT
Shell and its types in LINUX
SHUBHA CHATURVEDI
 
PDF
Introduction to char device driver
Vandana Salve
 
PPTX
Vi editor
Ramakrishna kapa
 
PPT
Basic Unix
Rajesh Kumar
 
PPT
Shell programming
Moayad Moawiah
 
PPTX
Linux Device Driver’s
Rashmi Warghade
 
PPT
Unix/Linux Basic Commands and Shell Script
sbmguys
 
PDF
Basic linux commands
Shakeel Shafiq
 
PDF
File System Hierarchy
sritolia
 
PPT
Shell Scripting
Gaurav Shinde
 
PDF
Linux systems - Linux Commands and Shell Scripting
Emertxe Information Technologies Pvt Ltd
 
PPT
Basic command ppt
Rohit Kumar
 
PPTX
Linux basic commands
Sagar Kumar
 
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
Linux command ppt
kalyanineve
 
Basic commands of linux
shravan saini
 
Shell scripting
Manav Prasad
 
Linux file system
Md. Tanvir Hossain
 
Filepermissions in linux
Subashini Pandiarajan
 
Introduction to linux ppt
Omi Vichare
 
Shell and its types in LINUX
SHUBHA CHATURVEDI
 
Introduction to char device driver
Vandana Salve
 
Vi editor
Ramakrishna kapa
 
Basic Unix
Rajesh Kumar
 
Shell programming
Moayad Moawiah
 
Linux Device Driver’s
Rashmi Warghade
 
Unix/Linux Basic Commands and Shell Script
sbmguys
 
Basic linux commands
Shakeel Shafiq
 
File System Hierarchy
sritolia
 
Shell Scripting
Gaurav Shinde
 
Linux systems - Linux Commands and Shell Scripting
Emertxe Information Technologies Pvt Ltd
 
Basic command ppt
Rohit Kumar
 
Linux basic commands
Sagar Kumar
 

Viewers also liked (20)

ODP
Linux Introduction (Commands)
anandvaidya
 
PPTX
Linux ppt
lincy21
 
PPTX
UNIX/Linux training
Michael Olafusi
 
PDF
Linux Basic Commands
Hanan Nmr
 
ODP
An Introduction to Linux
anandvaidya
 
PPT
Linux Commands
Ramasubbu .P
 
PPT
Linux Administration
Harish1983
 
PPTX
Unix Linux Commands Presentation 2013
Wave Digitech
 
PPTX
Linux process management
Raghu nath
 
PPT
Linux basic commands
MohanKumar Palanichamy
 
PPTX
Operating system critical section
Harshana Madusanka Jayamaha
 
PPT
Linux commands and file structure
Sreenatha Reddy K R
 
PDF
Vi Editor
Shiwang Kalkhanda
 
PPTX
Vi editor
Er Mittinpreet Singh
 
PPT
Vi editor in linux
Bhumivaghasiya
 
PPTX
Process management in linux
Mazenetsolution
 
ODP
Security, Hack1ng and Hardening on Linux - an Overview
Kaiwan Billimoria
 
PPT
Unix commands
BhaskarBalapuram
 
PPTX
How can Private Cloud UC enable your business
Unified Communications Online
 
Linux Introduction (Commands)
anandvaidya
 
Linux ppt
lincy21
 
UNIX/Linux training
Michael Olafusi
 
Linux Basic Commands
Hanan Nmr
 
An Introduction to Linux
anandvaidya
 
Linux Commands
Ramasubbu .P
 
Linux Administration
Harish1983
 
Unix Linux Commands Presentation 2013
Wave Digitech
 
Linux process management
Raghu nath
 
Linux basic commands
MohanKumar Palanichamy
 
Operating system critical section
Harshana Madusanka Jayamaha
 
Linux commands and file structure
Sreenatha Reddy K R
 
Vi editor in linux
Bhumivaghasiya
 
Process management in linux
Mazenetsolution
 
Security, Hack1ng and Hardening on Linux - an Overview
Kaiwan Billimoria
 
Unix commands
BhaskarBalapuram
 
How can Private Cloud UC enable your business
Unified Communications Online
 
Ad

Similar to Linux commands (20)

ODP
Prabu linux
Prabu Cse
 
ODP
Prabu linux
Prabu Cse
 
PPT
Raj linux
firstplanet
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
PPTX
Linux file commands
sundas Shabbir
 
PPT
Linux presentation
Nikhil Jain
 
PPTX
linuxcommands-140828081047-phpapp01.pptx
HarshaVardhanbale1
 
PPTX
linux command1234_LINUX COMMANDS _1.pptx
ubalearchana6
 
PPTX
linux commands that might be helpful.pptx
MeghrajPatil11
 
PPTX
Linux basics
BhaskarNeeluru
 
PDF
linuxcommands-140828081047-phgpapp01.pdf
harshavardhanbale15b
 
PPT
Linux Commands
sundas Shabbir
 
Prabu linux
Prabu Cse
 
Prabu linux
Prabu Cse
 
Raj linux
firstplanet
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Linux file commands
sundas Shabbir
 
Linux presentation
Nikhil Jain
 
linuxcommands-140828081047-phpapp01.pptx
HarshaVardhanbale1
 
linux command1234_LINUX COMMANDS _1.pptx
ubalearchana6
 
linux commands that might be helpful.pptx
MeghrajPatil11
 
Linux basics
BhaskarNeeluru
 
linuxcommands-140828081047-phgpapp01.pdf
harshavardhanbale15b
 
Linux Commands
sundas Shabbir
 
Ad

More from Balakumaran Arunachalam (10)

PPT
Campus deck
Balakumaran Arunachalam
 
PPT
visible surface detection
Balakumaran Arunachalam
 
PPT
Greenhouse effect
Balakumaran Arunachalam
 
PPT
Career path non technical
Balakumaran Arunachalam
 
ODP
Installing and configuring apache
Balakumaran Arunachalam
 
ODP
Tags in html
Balakumaran Arunachalam
 
ODP
Sql installation
Balakumaran Arunachalam
 
ODP
Sql commands
Balakumaran Arunachalam
 
visible surface detection
Balakumaran Arunachalam
 
Greenhouse effect
Balakumaran Arunachalam
 
Career path non technical
Balakumaran Arunachalam
 
Installing and configuring apache
Balakumaran Arunachalam
 
Sql installation
Balakumaran Arunachalam
 

Recently uploaded (12)

PPTX
2025_Q1_Targets for the RRMU-LUM Housing and Ressetlement
reccleialmaras
 
PDF
NLI 2025 - JULY Istanbul Featured Portfolio
Listing Turkey
 
PDF
2025 Interior Design Trends for Indian Residences
Stylome Interiors
 
PPTX
Redefining Mid-Income Housing: Govindam Group’s Vision for Inclusive Urban Gr...
Govindam Group
 
PDF
Mahindra Marina64 | Homes with Great Views in Malad West, Mumbai
vaishaliruhela701
 
PDF
Architectural Compliance Report for Real Estate Project in Mumbai
Rohit Digra
 
PDF
Listing Turkey - July 2025 Featured Apartments
Listing Turkey
 
PDF
Why Visit Virgin Islands National Park.pdf
PetterWilliams1
 
PPTX
Automated Insights: Redefining Property Portfolio Performance Monitoring
REalyse
 
PPTX
How Govindam Group is Shaping Smart and Sustainable Homes in Jaipur?
Govindam Group
 
PDF
Paul Turovsky - A Key Contributor
Paul Turovsky
 
PPTX
Anthony Lester – Shaping Real Estate & Community in Fresno
Anthony Lester Fresno
 
2025_Q1_Targets for the RRMU-LUM Housing and Ressetlement
reccleialmaras
 
NLI 2025 - JULY Istanbul Featured Portfolio
Listing Turkey
 
2025 Interior Design Trends for Indian Residences
Stylome Interiors
 
Redefining Mid-Income Housing: Govindam Group’s Vision for Inclusive Urban Gr...
Govindam Group
 
Mahindra Marina64 | Homes with Great Views in Malad West, Mumbai
vaishaliruhela701
 
Architectural Compliance Report for Real Estate Project in Mumbai
Rohit Digra
 
Listing Turkey - July 2025 Featured Apartments
Listing Turkey
 
Why Visit Virgin Islands National Park.pdf
PetterWilliams1
 
Automated Insights: Redefining Property Portfolio Performance Monitoring
REalyse
 
How Govindam Group is Shaping Smart and Sustainable Homes in Jaipur?
Govindam Group
 
Paul Turovsky - A Key Contributor
Paul Turovsky
 
Anthony Lester – Shaping Real Estate & Community in Fresno
Anthony Lester Fresno
 

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]