SlideShare a Scribd company logo
COMMUNICATION ORIENTED COMMANDS
GENERAL PURPOSE COMMANDS
Bhat_ vijetha5/19/2017
 Linux provides the communication facility from which a user
communicate with the other users.
 The communication can be online or offline.
 In online communication , the user to whom the message was sent
must be logged on to the system.
 In offline communication ,the recipient need not be logged on the
system.
 Some of the communication oriented commands are:
Write
This online communication command lets you to write messages on
another user’s terminal.
5/19/2017 Bhatvijetha
 General format is
Write <RecipientLoginName>
<message>
^d
Mail
 This command offers offline communication.
General format is,
Mail <username>
<message>
^d
5/19/2017 Bhatvijetha
Wall
Usually this wall command (write all) command is used by the super
user to send a message to all the users who were logged on the
system.
General format is,
Wall
<message>
<press [ctrl+d] at the end]
Example
$wall
Meeting at 14.00hrs
^d
The specified message “meeting 14.00hrs” will be displayed on
everyone’s terminal with a beep sound like write message .
5/19/2017 Bhatvijetha
 Date
This command displays the system’s date and time.
General format is,
Date +<format>
Where <format> can be,
%H hour 00 to23
%I hour 00 to 12
%M minute 00 to 59
%S second 00 to 59
%D Date MM/DD/YY
%TTime HH:MM:SS
%w day of the week
%r time in AM/PM
%y last two digits of the year
5/19/2017 Bhatvijetha
 Who
Linux is a multi user operating system where several user can
work on the system.
This command is used to display the users who are logged on
the system currently.
General format is,
Who
The first column of the user represents the user names.
The second column represents the corresponding terminal
names and the remaining columns represents the time at
which the users are logged on.
5/19/2017 Bhatvijetha
 This command tells you who you are.
(working on the current terminal)
General format is,
Who am I
5/19/2017 Bhatvijetha
Man
 This man command displays the syntax and details usage of
the linux command which is supplied as an argument.
 General format is,
Man <linuxcommand>
5/19/2017 Bhatvijetha
 Cal
This command will display calendar for the specified month
and year.
general format is,
Cal [<month>] <year>
Where ,month can be ranged from 1 to 12.
5/19/2017 Bhatvijetha
 Lpr
This command is used to print one or more files on the printer.
General format is,
Lpr [options] <filename> <filename2>..<filenameN>
Where options can be,
r removes files from one directory after printing.
m Mail inform you when printing is over
5/19/2017 Bhatvijetha
 Tee
This command does the operation of pipe and redirection.
It will send the output of a command into standard output as
well to specified file.
General format is,
Command |tee <filename>
The option –a can be used with the tee command which
appends the output of the specific file .
Other wise the file content will be overwritten.
5/19/2017 Bhatvijetha
 Script
This command stores login session into a specific file.
All the operations that you have done are stored on that file.
Start the login session by issuing the following command.
$script
Then do you operations and finally use the exit command to
end script.then all the operation in between script and exit
will be stored on a file named type script.
The next script command will overwrite the typescript file.
5/19/2017 Bhatvijetha
 Tput
This command with clear option can be used to clear thee
screen content.
General format is,
Tput clear
You can also use clear command for this purpose.
5/19/2017 Bhatvijetha
 Expr
This command is used to perform arithematic operations on
integers.
A white space must be used on either side of an operator.
$ x=5
$y=2
Then,
$ expr $X + $y
$ expr $x - $y
5/19/2017 Bhatvijetha
 Bc
This command is used to perform arithematic operations on
integers as well as on floats.
Type the arithematic expression in a line and press key.
Then the answer will be displayed on the next line.
After you have finished work,press control d to end up.
Example:
Add 10 and 20
$bc
10 + 20
30
Ctrl+d(to end)
5/19/2017 Bhatvijetha
5/19/2017 Bhatvijetha

More Related Content

What's hot (20)

PPT
Bash shell
xylas121
 
PPTX
NFA & DFA
Akhil Kaushik
 
PPTX
Relational Algebra,Types of join
raj upadhyay
 
PPTX
Database abstraction
RituBhargava7
 
PDF
21 All Pairs Shortest Path
Andres Mendez-Vazquez
 
PPTX
Python: Modules and Packages
Damian T. Gordon
 
PPTX
Linux commands
Mannu Khani
 
PDF
OS - Process Concepts
Mukesh Chinta
 
PPTX
trigger dbms
kuldeep100
 
PPTX
Unix ppt
Dr Rajiv Srivastava
 
PPT
Regular expressions
Raj Gupta
 
PPTX
Functional dependency
Sakshi Jaiswal
 
PPT
X Window System
Ron Bandes
 
PPT
Linux presentation
Nikhil Jain
 
PPT
Theory of Computation Unit 5
Jena Catherine Bel D
 
PPT
Contiguous Memory Allocation.ppt
infomerlin
 
PPTX
Distributed database
ReachLocal Services India
 
PPTX
Python-Encapsulation.pptx
Karudaiyar Ganapathy
 
PPTX
Evolution of operating system
Arshad khan
 
PPTX
Difference between File system And DBMS.pptx
ShayanMujahid2
 
Bash shell
xylas121
 
NFA & DFA
Akhil Kaushik
 
Relational Algebra,Types of join
raj upadhyay
 
Database abstraction
RituBhargava7
 
21 All Pairs Shortest Path
Andres Mendez-Vazquez
 
Python: Modules and Packages
Damian T. Gordon
 
Linux commands
Mannu Khani
 
OS - Process Concepts
Mukesh Chinta
 
trigger dbms
kuldeep100
 
Regular expressions
Raj Gupta
 
Functional dependency
Sakshi Jaiswal
 
X Window System
Ron Bandes
 
Linux presentation
Nikhil Jain
 
Theory of Computation Unit 5
Jena Catherine Bel D
 
Contiguous Memory Allocation.ppt
infomerlin
 
Distributed database
ReachLocal Services India
 
Python-Encapsulation.pptx
Karudaiyar Ganapathy
 
Evolution of operating system
Arshad khan
 
Difference between File system And DBMS.pptx
ShayanMujahid2
 

Similar to Linux commands part4 (20)

ODP
Nithi
sharmibalu
 
ODP
Linuxs1
rajikaa
 
PDF
Useful Linux and Unix commands handbook
Wave Digitech
 
PPT
Sandy Report
sandeepkumar907
 
PPT
Sandy Report
sandeepkumar907
 
PPT
Linux
Rathan Raj
 
PDF
Linux Cheat Sheet.pdf
roschahacker
 
DOC
Linux Shortcuts and Commands:
wensheng wei
 
DOCX
User and Operating-System Interface We mentioned earlier that there ar.docx
StewartyUMGlovern
 
PPT
Linux commands part3
bhatvijetha
 
PDF
60761 linux
Ritika Ahlawat
 
PPTX
Chapter 3 Using Unix Commands
MeenalJabde
 
PPT
Linux commands
Hemakumar.S
 
PPT
Linux commands
Hemakumar.S
 
PPT
Linux commands
Ajaigururaj R
 
PPT
101 apend. scripting, crond, atd
Acácio Oliveira
 
PDF
Experimentos lab
George Madson Dias Santos
 
PDF
What is DCA (Diploma of Computer Application) Detail, Syllabus,Coursess.pdf
Growthy.web
 
PDF
What is DCA (Diploma of Computer Application) Detail, Syllabus,Coursess.pdf
Growthy.web
 
DOC
Foss manual (1)
Janagi Raman S
 
Nithi
sharmibalu
 
Linuxs1
rajikaa
 
Useful Linux and Unix commands handbook
Wave Digitech
 
Sandy Report
sandeepkumar907
 
Sandy Report
sandeepkumar907
 
Linux
Rathan Raj
 
Linux Cheat Sheet.pdf
roschahacker
 
Linux Shortcuts and Commands:
wensheng wei
 
User and Operating-System Interface We mentioned earlier that there ar.docx
StewartyUMGlovern
 
Linux commands part3
bhatvijetha
 
60761 linux
Ritika Ahlawat
 
Chapter 3 Using Unix Commands
MeenalJabde
 
Linux commands
Hemakumar.S
 
Linux commands
Hemakumar.S
 
Linux commands
Ajaigururaj R
 
101 apend. scripting, crond, atd
Acácio Oliveira
 
Experimentos lab
George Madson Dias Santos
 
What is DCA (Diploma of Computer Application) Detail, Syllabus,Coursess.pdf
Growthy.web
 
What is DCA (Diploma of Computer Application) Detail, Syllabus,Coursess.pdf
Growthy.web
 
Foss manual (1)
Janagi Raman S
 
Ad

More from bhatvijetha (9)

PPTX
LINUX:Control statements in shell programming
bhatvijetha
 
PPT
Shellvariables in Linux
bhatvijetha
 
PPTX
Vi editor
bhatvijetha
 
PPT
Linux directory commands:more options on cd and ls command
bhatvijetha
 
PPTX
Unix vs linux
bhatvijetha
 
PPTX
Pipes and filters
bhatvijetha
 
PPTX
Linux commands part -2
bhatvijetha
 
PPT
Linux commands
bhatvijetha
 
PPTX
Introduction to unix
bhatvijetha
 
LINUX:Control statements in shell programming
bhatvijetha
 
Shellvariables in Linux
bhatvijetha
 
Vi editor
bhatvijetha
 
Linux directory commands:more options on cd and ls command
bhatvijetha
 
Unix vs linux
bhatvijetha
 
Pipes and filters
bhatvijetha
 
Linux commands part -2
bhatvijetha
 
Linux commands
bhatvijetha
 
Introduction to unix
bhatvijetha
 
Ad

Recently uploaded (20)

PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPTX
PPT on the Development of Education in the Victorian England
Beena E S
 
PDF
IMP NAAC REFORMS 2024 - 10 Attributes.pdf
BHARTIWADEKAR
 
PDF
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PDF
The-Beginnings-of-Indian-Civilisation.pdf/6th class new ncert social/by k san...
Sandeep Swamy
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPT
digestive system for Pharm d I year HAP
rekhapositivity
 
PDF
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
community health nursing question paper 2.pdf
Prince kumar
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPT on the Development of Education in the Victorian England
Beena E S
 
IMP NAAC REFORMS 2024 - 10 Attributes.pdf
BHARTIWADEKAR
 
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
The-Beginnings-of-Indian-Civilisation.pdf/6th class new ncert social/by k san...
Sandeep Swamy
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
digestive system for Pharm d I year HAP
rekhapositivity
 
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 

Linux commands part4

  • 1. COMMUNICATION ORIENTED COMMANDS GENERAL PURPOSE COMMANDS Bhat_ vijetha5/19/2017
  • 2.  Linux provides the communication facility from which a user communicate with the other users.  The communication can be online or offline.  In online communication , the user to whom the message was sent must be logged on to the system.  In offline communication ,the recipient need not be logged on the system.  Some of the communication oriented commands are: Write This online communication command lets you to write messages on another user’s terminal. 5/19/2017 Bhatvijetha
  • 3.  General format is Write <RecipientLoginName> <message> ^d Mail  This command offers offline communication. General format is, Mail <username> <message> ^d 5/19/2017 Bhatvijetha
  • 4. Wall Usually this wall command (write all) command is used by the super user to send a message to all the users who were logged on the system. General format is, Wall <message> <press [ctrl+d] at the end] Example $wall Meeting at 14.00hrs ^d The specified message “meeting 14.00hrs” will be displayed on everyone’s terminal with a beep sound like write message . 5/19/2017 Bhatvijetha
  • 5.  Date This command displays the system’s date and time. General format is, Date +<format> Where <format> can be, %H hour 00 to23 %I hour 00 to 12 %M minute 00 to 59 %S second 00 to 59 %D Date MM/DD/YY %TTime HH:MM:SS %w day of the week %r time in AM/PM %y last two digits of the year 5/19/2017 Bhatvijetha
  • 6.  Who Linux is a multi user operating system where several user can work on the system. This command is used to display the users who are logged on the system currently. General format is, Who The first column of the user represents the user names. The second column represents the corresponding terminal names and the remaining columns represents the time at which the users are logged on. 5/19/2017 Bhatvijetha
  • 7.  This command tells you who you are. (working on the current terminal) General format is, Who am I 5/19/2017 Bhatvijetha
  • 8. Man  This man command displays the syntax and details usage of the linux command which is supplied as an argument.  General format is, Man <linuxcommand> 5/19/2017 Bhatvijetha
  • 9.  Cal This command will display calendar for the specified month and year. general format is, Cal [<month>] <year> Where ,month can be ranged from 1 to 12. 5/19/2017 Bhatvijetha
  • 10.  Lpr This command is used to print one or more files on the printer. General format is, Lpr [options] <filename> <filename2>..<filenameN> Where options can be, r removes files from one directory after printing. m Mail inform you when printing is over 5/19/2017 Bhatvijetha
  • 11.  Tee This command does the operation of pipe and redirection. It will send the output of a command into standard output as well to specified file. General format is, Command |tee <filename> The option –a can be used with the tee command which appends the output of the specific file . Other wise the file content will be overwritten. 5/19/2017 Bhatvijetha
  • 12.  Script This command stores login session into a specific file. All the operations that you have done are stored on that file. Start the login session by issuing the following command. $script Then do you operations and finally use the exit command to end script.then all the operation in between script and exit will be stored on a file named type script. The next script command will overwrite the typescript file. 5/19/2017 Bhatvijetha
  • 13.  Tput This command with clear option can be used to clear thee screen content. General format is, Tput clear You can also use clear command for this purpose. 5/19/2017 Bhatvijetha
  • 14.  Expr This command is used to perform arithematic operations on integers. A white space must be used on either side of an operator. $ x=5 $y=2 Then, $ expr $X + $y $ expr $x - $y 5/19/2017 Bhatvijetha
  • 15.  Bc This command is used to perform arithematic operations on integers as well as on floats. Type the arithematic expression in a line and press key. Then the answer will be displayed on the next line. After you have finished work,press control d to end up. Example: Add 10 and 20 $bc 10 + 20 30 Ctrl+d(to end) 5/19/2017 Bhatvijetha