SlideShare a Scribd company logo
PROCESS ORIENTED COMMANDS
LINUX COMMANDS : PART 3
1Bhat vijettha
 Dd
This command copies files and coverts them in one
format to another.
General format is,
dd [options =values]
Where options can be,
If input filename
Of output filename
Conv file conversion specificatiton.
The value for this option may be
Lcase ,ucase,ascii and abcdic
 Expand
This command converts all the tabs present in the
specified file into blank spaces and displays the
results on the screen.
Expand [-i] <filename>
Where the –i option converts only the intial tab into
blank spaces.
 Nl
This command numbers all non blank lines in the
specified text file and displays the same on the
screen.
General format is,
nl <filename>
 Tac
This command reverses a file so that last line
becomes the first line.
General format is,
Tac <filename>
 Tail
This command displays the end of the specified file.
general format is,
Tail +n <filename>
+n is used to display the nth line till end of the file .
-n last n lines are displayed.
No option is used then last 10 lines are displayed.
Process oriented commands
 A process is a job in execution.
 There is a program called scheduler always running
in memory which decides which process should get
the cpu time and when.
 Only one process will be executed at a time,because
the system has only one processor.
 Ps
This command is used to know which process is
running at our terminal.
General format is,
ps –a:this command lists the processes of all the
users who are logged on the system.
ps-t <terminal_name>:this command lists the
processes ,which are running on the specified
terminal. <terminal_name>.
 Ps –u<user name>:
This command lists the processes, which are running
for running for specified user-<username>.
 Ps –x:this command lists the system processes.
Apart from the processes that are generated by the
user,there are some processes that keep on running
all the time.these processes are called system
processes .
Examples:
$ps
$ps –a
Background processing
 Linux provides the facility for background processing.
 when one process is running in the
foreground,another process can be executed in the
background.
Example:
$sort emp.doc&
By the execution of this command a number is
displayed..this is called PID(process identification
number).
 Kill
If you want a command to terminate prematurely
press[ctrl+c].
This type of interrupt characters doesnot affect the
background processes because the background
processes are protected by shell from these
interrupt signals.
This kill command is used to terminate a background
process,
General format,
Kill [-signal Number] <PID>
Examples:
$skill 120
This command terminate the process who has the PID
120.
$kill -9 130
$kill -9 0
This command kills the processes including the login
shell.
 Nohup
If a user wants a process that he has executed not to
die even when he logged out from the system you
can use this nohup command.
Normally all the processes of a user are terminated if
he logs out.
General format is,
Nohup <command>&
 Batch
This command is used to execute the specified
commands when the system load permits (when cpu
becomes nearly free).
General format is,
batch
<commands>
^d
Any job scheduled with batch also goes to the at queue
,you can list or delete them through atq and atrm
respectively.
Cont…part4

More Related Content

What's hot (12)

ODP
Linux commd
ragav03
 
PDF
Command line for the beginner - Using the command line in developing for the...
Jim Birch
 
PDF
Vi Editor
Shiwang Kalkhanda
 
PDF
Basic linux commands
Nguyen Vinh
 
PPTX
Linux Basic commands and VI Editor
shanmuga rajan
 
DOC
Linux Shortcuts and Commands:
wensheng wei
 
PPTX
Command-Line 101
Artefactual Systems - AtoM
 
PDF
Useful Linux and Unix commands handbook
Wave Digitech
 
PPTX
Chapter 3 Using Unix Commands
MeenalJabde
 
PDF
CMD Command prompts
Ahmed Hesham
 
PDF
Linux basic commands with examples
abclearnn
 
PPT
Rhel2
Yash Gulati
 
Linux commd
ragav03
 
Command line for the beginner - Using the command line in developing for the...
Jim Birch
 
Basic linux commands
Nguyen Vinh
 
Linux Basic commands and VI Editor
shanmuga rajan
 
Linux Shortcuts and Commands:
wensheng wei
 
Command-Line 101
Artefactual Systems - AtoM
 
Useful Linux and Unix commands handbook
Wave Digitech
 
Chapter 3 Using Unix Commands
MeenalJabde
 
CMD Command prompts
Ahmed Hesham
 
Linux basic commands with examples
abclearnn
 

Similar to Linux commands part3 (20)

PPTX
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
AbdellahELMAMOUN
 
PPTX
UNIX Notes
PandurangBiradar2
 
PPTX
System Administration: Linux Process
lucita cabral
 
PPTX
Managing Processes in Unix.pptx
Harsha Patil
 
PPTX
Managing Processes in Unix.pptx
Harsha Patil
 
PPT
101 3.5 create, monitor and kill processes
Acácio Oliveira
 
PPTX
13 process management
Shay Cohen
 
PPTX
Linux basic3
Hideo Amezawa
 
PDF
Unit 10 investigating and managing
root_fibo
 
PPTX
Linux system administration
PoonamChawhan1
 
PPTX
unix- the process states, zombies, running jobs in background
Dr. Girish GS
 
PPTX
Processes
primeteacher32
 
PPT
3.5 create, monitor and kill processes v2
Acácio Oliveira
 
PPTX
Process management in linux
Mazenetsolution
 
DOCX
InstructionsInstructions for numberguessernumberGuesser.html.docx
dirkrplav
 
DOCX
LP-Unit3.docx
SeetharamNageshAppe1
 
PPTX
AOS_Module_4ssssssssssssssssssssssss.pptx
rapiwip803
 
PPTX
Process managment
NaviyaMariya
 
PPT
101 3.5 create, monitor and kill processes v2
Acácio Oliveira
 
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
AbdellahELMAMOUN
 
UNIX Notes
PandurangBiradar2
 
System Administration: Linux Process
lucita cabral
 
Managing Processes in Unix.pptx
Harsha Patil
 
Managing Processes in Unix.pptx
Harsha Patil
 
101 3.5 create, monitor and kill processes
Acácio Oliveira
 
13 process management
Shay Cohen
 
Linux basic3
Hideo Amezawa
 
Unit 10 investigating and managing
root_fibo
 
Linux system administration
PoonamChawhan1
 
unix- the process states, zombies, running jobs in background
Dr. Girish GS
 
Processes
primeteacher32
 
3.5 create, monitor and kill processes v2
Acácio Oliveira
 
Process management in linux
Mazenetsolution
 
InstructionsInstructions for numberguessernumberGuesser.html.docx
dirkrplav
 
LP-Unit3.docx
SeetharamNageshAppe1
 
AOS_Module_4ssssssssssssssssssssssss.pptx
rapiwip803
 
Process managment
NaviyaMariya
 
101 3.5 create, monitor and kill processes v2
Acácio Oliveira
 
Ad

More from bhatvijetha (6)

PPTX
LINUX:Control statements in shell programming
bhatvijetha
 
PPT
Shellvariables in Linux
bhatvijetha
 
PPTX
Vi editor
bhatvijetha
 
PPTX
Unix vs linux
bhatvijetha
 
PPTX
Pipes and filters
bhatvijetha
 
PPTX
Introduction to unix
bhatvijetha
 
LINUX:Control statements in shell programming
bhatvijetha
 
Shellvariables in Linux
bhatvijetha
 
Vi editor
bhatvijetha
 
Unix vs linux
bhatvijetha
 
Pipes and filters
bhatvijetha
 
Introduction to unix
bhatvijetha
 
Ad

Recently uploaded (20)

PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Top Managed Service Providers in Los Angeles
Captain IT
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 

Linux commands part3

  • 1. PROCESS ORIENTED COMMANDS LINUX COMMANDS : PART 3 1Bhat vijettha
  • 2.  Dd This command copies files and coverts them in one format to another. General format is, dd [options =values] Where options can be, If input filename Of output filename Conv file conversion specificatiton. The value for this option may be Lcase ,ucase,ascii and abcdic
  • 3.  Expand This command converts all the tabs present in the specified file into blank spaces and displays the results on the screen. Expand [-i] <filename> Where the –i option converts only the intial tab into blank spaces.  Nl This command numbers all non blank lines in the specified text file and displays the same on the screen. General format is, nl <filename>
  • 4.  Tac This command reverses a file so that last line becomes the first line. General format is, Tac <filename>  Tail This command displays the end of the specified file. general format is, Tail +n <filename> +n is used to display the nth line till end of the file . -n last n lines are displayed. No option is used then last 10 lines are displayed.
  • 5. Process oriented commands  A process is a job in execution.  There is a program called scheduler always running in memory which decides which process should get the cpu time and when.  Only one process will be executed at a time,because the system has only one processor.
  • 6.  Ps This command is used to know which process is running at our terminal. General format is, ps –a:this command lists the processes of all the users who are logged on the system. ps-t <terminal_name>:this command lists the processes ,which are running on the specified terminal. <terminal_name>.
  • 7.  Ps –u<user name>: This command lists the processes, which are running for running for specified user-<username>.  Ps –x:this command lists the system processes. Apart from the processes that are generated by the user,there are some processes that keep on running all the time.these processes are called system processes . Examples: $ps $ps –a
  • 8. Background processing  Linux provides the facility for background processing.  when one process is running in the foreground,another process can be executed in the background. Example: $sort emp.doc& By the execution of this command a number is displayed..this is called PID(process identification number).
  • 9.  Kill If you want a command to terminate prematurely press[ctrl+c]. This type of interrupt characters doesnot affect the background processes because the background processes are protected by shell from these interrupt signals. This kill command is used to terminate a background process, General format, Kill [-signal Number] <PID>
  • 10. Examples: $skill 120 This command terminate the process who has the PID 120. $kill -9 130 $kill -9 0 This command kills the processes including the login shell.
  • 11.  Nohup If a user wants a process that he has executed not to die even when he logged out from the system you can use this nohup command. Normally all the processes of a user are terminated if he logs out. General format is, Nohup <command>&
  • 12.  Batch This command is used to execute the specified commands when the system load permits (when cpu becomes nearly free). General format is, batch <commands> ^d Any job scheduled with batch also goes to the at queue ,you can list or delete them through atq and atrm respectively.