SlideShare a Scribd company logo
1 of 5
Download to read offline
1) List currently running jobs
ANS) see currently running
command: ps
examples:
$ps
2.Kill one of the running jobs
ANS) a.kill any process by PID
command:
kill {PID}
example:
$kill 1012
3.Run the ls command with –help option
ANS) ls command:
ls command is used to list the contents of a directory
Syntax:
ls [-a] [-A] [-b] [-c] [-C] [-d] [-f] [-F] [-g] [-i] [-l] [-L] [-m] [-o] [-p][-q] [-r] [-R] [-s] [-t] [-u] [-x]
[pathnames]
Parameters OR Switches
• -a Shows All The Files, Including Hidden File Which Begin With ADot.
• -A Shows All The Files Including Hidden Files. Does Not Displays The
Working Directory (.) OR The Parent Directory (..)
• -b Force Printing of Non-Printable Characters To Be in Octal ddd
Notation.
• -c Use Time of Last Modification of The i-Node For Sorting (-t) OR For
Printing (-l OR -n)
• -C Multi-Column Output With Entries Sorted Down The Columns.
Which is Generally The Default Option.
• -d Lists Only The Directory Names But Not its Contents.
• -f Force Each Argument To Be Interpreted As A Directory And List
The Name Found in Each Slot. -f Option Turns off -l, -t, -s, And -r, And
Turns on –a, The List Order is The Order in Which Entries Appear in The
Directory.
• -F Mark Directories With A Trailing Slash (/), DOORS With A Trailing
Greater-Than Sign (>), Executable Files With A Trailing Asterisk (*),
FIFOs With A Trailing Vertical Bar (|), Symbolic Links With A Trailing
Equals Sign (=).
• -g Same As -l Parameter, Except The Owner is Not Printed.
• -i For Each File, Prints The i-Node Number in The First Column.
• -l Shows The User With Huge Amounts of Information With
Permissions, Owners, Size, And When Last Modified.)
• -L If An Argument is A Symbolic Link, List The File OR Directory To
Which The Link References Rather Than The Link Itself.
• -m Stream Output Format, In This Files Are Listed Across The Page,
Separated By Commas.
• -n Same As –l Parameter, Except That The Owner's UID And Group's
GID Numbers Are Printed, Rather Than The Associated Character
Strings.
-o The Same As -l, Except That The Group is Not Printed.
-p Displays A Forward Slash (/) in Front of All Directories.
-q Force Printing of Non-Printable Characters in File Names As The
Character Question Mark (?).
-r Reverses The Order of How The Files Are Displayed.
-R Includes The Contents of Subdirectories.
-s Give Size in Blocks, Including Indirect Blocks, For Each Entry.
-t Shows The End User The Files Modification Time.
-u Use Time of Last Access Instead of Last Modification For Sorting
Use With The -t Option OR For Printing Use With The -l Option.
-x Displays Files in Columns.
-1 Prints One Entry Per Line of Output.
pathnames File OR Directory To List.
4.Run the help command on echo
ANS) echo command display to the Screen.
“echo” is Useful For
• Producing Diagnostics in Command Files
• For Sending Known Data into A Pipe
• For Displaying The Contents of Environment Variables
syntax:
echo [-n] text
5.Cat an existing file using a command that misspells one character in the filename
6.Write today’s date and time
ANS)“date” Command
• “date” Tells Us The Date And Time in UNIX.
Syntax
date [-a] [-u] [-s datestr]
Linux Date Command To Format Both The Date And Time Part
date '+%m-%d-%Y %H-%M-%S‘
7.Exit the script using exit command
ANS)
exit” Command
• “exit” Command Allows The Linux User To Exit From A
Program, Shell OR Log The End User Out of A Linux Network.
Syntax
exit
Note
• If Exit Does Not Helps in Logging Out We Can Try “logout”,
“lo”, “bye”, “quit”, OR CTRL + D.
• “exit” is Essential To Terminate Ideal Process For A User
Solution
1) List currently running jobs
ANS) see currently running
command: ps
examples:
$ps
2.Kill one of the running jobs
ANS) a.kill any process by PID
command:
kill {PID}
example:
$kill 1012
3.Run the ls command with –help option
ANS) ls command:
ls command is used to list the contents of a directory
Syntax:
ls [-a] [-A] [-b] [-c] [-C] [-d] [-f] [-F] [-g] [-i] [-l] [-L] [-m] [-o] [-p][-q] [-r] [-R] [-s] [-t] [-u] [-x]
[pathnames]
Parameters OR Switches
• -a Shows All The Files, Including Hidden File Which Begin With ADot.
• -A Shows All The Files Including Hidden Files. Does Not Displays The
Working Directory (.) OR The Parent Directory (..)
• -b Force Printing of Non-Printable Characters To Be in Octal ddd
Notation.
• -c Use Time of Last Modification of The i-Node For Sorting (-t) OR For
Printing (-l OR -n)
• -C Multi-Column Output With Entries Sorted Down The Columns.
Which is Generally The Default Option.
• -d Lists Only The Directory Names But Not its Contents.
• -f Force Each Argument To Be Interpreted As A Directory And List
The Name Found in Each Slot. -f Option Turns off -l, -t, -s, And -r, And
Turns on –a, The List Order is The Order in Which Entries Appear in The
Directory.
• -F Mark Directories With A Trailing Slash (/), DOORS With A Trailing
Greater-Than Sign (>), Executable Files With A Trailing Asterisk (*),
FIFOs With A Trailing Vertical Bar (|), Symbolic Links With A Trailing
Equals Sign (=).
• -g Same As -l Parameter, Except The Owner is Not Printed.
• -i For Each File, Prints The i-Node Number in The First Column.
• -l Shows The User With Huge Amounts of Information With
Permissions, Owners, Size, And When Last Modified.)
• -L If An Argument is A Symbolic Link, List The File OR Directory To
Which The Link References Rather Than The Link Itself.
• -m Stream Output Format, In This Files Are Listed Across The Page,
Separated By Commas.
• -n Same As –l Parameter, Except That The Owner's UID And Group's
GID Numbers Are Printed, Rather Than The Associated Character
Strings.
-o The Same As -l, Except That The Group is Not Printed.
-p Displays A Forward Slash (/) in Front of All Directories.
-q Force Printing of Non-Printable Characters in File Names As The
Character Question Mark (?).
-r Reverses The Order of How The Files Are Displayed.
-R Includes The Contents of Subdirectories.
-s Give Size in Blocks, Including Indirect Blocks, For Each Entry.
-t Shows The End User The Files Modification Time.
-u Use Time of Last Access Instead of Last Modification For Sorting
Use With The -t Option OR For Printing Use With The -l Option.
-x Displays Files in Columns.
-1 Prints One Entry Per Line of Output.
pathnames File OR Directory To List.
4.Run the help command on echo
ANS) echo command display to the Screen.
“echo” is Useful For
• Producing Diagnostics in Command Files
• For Sending Known Data into A Pipe
• For Displaying The Contents of Environment Variables
syntax:
echo [-n] text
5.Cat an existing file using a command that misspells one character in the filename
6.Write today’s date and time
ANS)“date” Command
• “date” Tells Us The Date And Time in UNIX.
Syntax
date [-a] [-u] [-s datestr]
Linux Date Command To Format Both The Date And Time Part
date '+%m-%d-%Y %H-%M-%S‘
7.Exit the script using exit command
ANS)
exit” Command
• “exit” Command Allows The Linux User To Exit From A
Program, Shell OR Log The End User Out of A Linux Network.
Syntax
exit
Note
• If Exit Does Not Helps in Logging Out We Can Try “logout”,
“lo”, “bye”, “quit”, OR CTRL + D.
• “exit” is Essential To Terminate Ideal Process For A User

More Related Content

Similar to 1) List currently running jobsANS) see currently runningcommand.pdf

Similar to 1) List currently running jobsANS) see currently runningcommand.pdf (20)

Linux Basic commands and VI Editor
Linux Basic commands and VI EditorLinux Basic commands and VI Editor
Linux Basic commands and VI Editor
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Basics R.ppt
Basics R.pptBasics R.ppt
Basics R.ppt
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
2. UNIX OS System Architecture easy.pptx
2. UNIX OS System Architecture easy.pptx2. UNIX OS System Architecture easy.pptx
2. UNIX OS System Architecture easy.pptx
 
Love Your Command Line
Love Your Command LineLove Your Command Line
Love Your Command Line
 
Linux And perl
Linux And perlLinux And perl
Linux And perl
 
Basics.ppt
Basics.pptBasics.ppt
Basics.ppt
 
Linux powerpoint
Linux powerpointLinux powerpoint
Linux powerpoint
 
Scripting and the shell in LINUX
Scripting and the shell in LINUXScripting and the shell in LINUX
Scripting and the shell in LINUX
 
Basics of unix
Basics of unixBasics of unix
Basics of unix
 
Linux
LinuxLinux
Linux
 
Course 102: Lecture 12: Basic Text Handling
Course 102: Lecture 12: Basic Text Handling Course 102: Lecture 12: Basic Text Handling
Course 102: Lecture 12: Basic Text Handling
 
2.Utilities.ppt
2.Utilities.ppt2.Utilities.ppt
2.Utilities.ppt
 
Unix
UnixUnix
Unix
 
Workshop on command line tools - day 1
Workshop on command line tools - day 1Workshop on command line tools - day 1
Workshop on command line tools - day 1
 
part2.pdf
part2.pdfpart2.pdf
part2.pdf
 

More from amaresh6333

a) It is given E is the event of getting 2. We can observe that 2 is.pdf
a) It is given E is the event of getting 2. We can observe that 2 is.pdfa) It is given E is the event of getting 2. We can observe that 2 is.pdf
a) It is given E is the event of getting 2. We can observe that 2 is.pdfamaresh6333
 
4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf
4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf
4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdfamaresh6333
 
A special type of IP address is the limited broadcast address 255.25.pdf
A special type of IP address is the limited broadcast address 255.25.pdfA special type of IP address is the limited broadcast address 255.25.pdf
A special type of IP address is the limited broadcast address 255.25.pdfamaresh6333
 
10 leading causes of death in the United States In the recent sta.pdf
10 leading causes of death in the United States In the recent sta.pdf10 leading causes of death in the United States In the recent sta.pdf
10 leading causes of death in the United States In the recent sta.pdfamaresh6333
 
C Program to shuffle a given Aay#include stdio.h #include .pdf
 C Program to shuffle a given Aay#include stdio.h #include .pdf C Program to shuffle a given Aay#include stdio.h #include .pdf
C Program to shuffle a given Aay#include stdio.h #include .pdfamaresh6333
 
1.Router 1.It is a machine which aheads datagrams over the networks.pdf
1.Router 1.It is a machine which aheads datagrams over the networks.pdf1.Router 1.It is a machine which aheads datagrams over the networks.pdf
1.Router 1.It is a machine which aheads datagrams over the networks.pdfamaresh6333
 
Step1 Total pressure = partial pressure of Hydrog.pdf
                     Step1 Total pressure = partial pressure of Hydrog.pdf                     Step1 Total pressure = partial pressure of Hydrog.pdf
Step1 Total pressure = partial pressure of Hydrog.pdfamaresh6333
 
I would say very many elements exista as monoatom.pdf
                     I would say very many elements exista as monoatom.pdf                     I would say very many elements exista as monoatom.pdf
I would say very many elements exista as monoatom.pdfamaresh6333
 
E is simply hexane...no polarity at all...nothing.pdf
                     E is simply hexane...no polarity at all...nothing.pdf                     E is simply hexane...no polarity at all...nothing.pdf
E is simply hexane...no polarity at all...nothing.pdfamaresh6333
 
Ferroxyl contains the chemical compound Potassium.pdf
                     Ferroxyl contains the chemical compound Potassium.pdf                     Ferroxyl contains the chemical compound Potassium.pdf
Ferroxyl contains the chemical compound Potassium.pdfamaresh6333
 
There are two different types of mechanisms. Ther.pdf
                     There are two different types of mechanisms. Ther.pdf                     There are two different types of mechanisms. Ther.pdf
There are two different types of mechanisms. Ther.pdfamaresh6333
 
What must be true about a set of data when its standard deviation is.pdf
What must be true about a set of data when its standard deviation is.pdfWhat must be true about a set of data when its standard deviation is.pdf
What must be true about a set of data when its standard deviation is.pdfamaresh6333
 
When one drives from sea level to trailhead in high Sierras, altitud.pdf
When one drives from sea level to trailhead in high Sierras, altitud.pdfWhen one drives from sea level to trailhead in high Sierras, altitud.pdf
When one drives from sea level to trailhead in high Sierras, altitud.pdfamaresh6333
 
the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf
                     the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf                     the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf
the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdfamaresh6333
 
The important thing here is to understand the Standard Electrode Pot.pdf
The important thing here is to understand the Standard Electrode Pot.pdfThe important thing here is to understand the Standard Electrode Pot.pdf
The important thing here is to understand the Standard Electrode Pot.pdfamaresh6333
 
The pathway would be overactive.The GTPase activity of the alpha s.pdf
The pathway would be overactive.The GTPase activity of the alpha s.pdfThe pathway would be overactive.The GTPase activity of the alpha s.pdf
The pathway would be overactive.The GTPase activity of the alpha s.pdfamaresh6333
 
The metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdf
The metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdfThe metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdf
The metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdfamaresh6333
 
The electron carriers that feed into the ETC are NADH and FADH2.NA.pdf
The electron carriers that feed into the ETC are NADH and FADH2.NA.pdfThe electron carriers that feed into the ETC are NADH and FADH2.NA.pdf
The electron carriers that feed into the ETC are NADH and FADH2.NA.pdfamaresh6333
 
The developmental potential, or potency of a cell, describes the ran.pdf
The developmental potential, or potency of a cell, describes the ran.pdfThe developmental potential, or potency of a cell, describes the ran.pdf
The developmental potential, or potency of a cell, describes the ran.pdfamaresh6333
 
Tested on linux,ubuntu#include stdlib.h #include systypes..pdf
Tested on linux,ubuntu#include stdlib.h #include systypes..pdfTested on linux,ubuntu#include stdlib.h #include systypes..pdf
Tested on linux,ubuntu#include stdlib.h #include systypes..pdfamaresh6333
 

More from amaresh6333 (20)

a) It is given E is the event of getting 2. We can observe that 2 is.pdf
a) It is given E is the event of getting 2. We can observe that 2 is.pdfa) It is given E is the event of getting 2. We can observe that 2 is.pdf
a) It is given E is the event of getting 2. We can observe that 2 is.pdf
 
4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf
4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf
4.1 (a) SoftwoodsThese generally come from the gymnosperm trees wh.pdf
 
A special type of IP address is the limited broadcast address 255.25.pdf
A special type of IP address is the limited broadcast address 255.25.pdfA special type of IP address is the limited broadcast address 255.25.pdf
A special type of IP address is the limited broadcast address 255.25.pdf
 
10 leading causes of death in the United States In the recent sta.pdf
10 leading causes of death in the United States In the recent sta.pdf10 leading causes of death in the United States In the recent sta.pdf
10 leading causes of death in the United States In the recent sta.pdf
 
C Program to shuffle a given Aay#include stdio.h #include .pdf
 C Program to shuffle a given Aay#include stdio.h #include .pdf C Program to shuffle a given Aay#include stdio.h #include .pdf
C Program to shuffle a given Aay#include stdio.h #include .pdf
 
1.Router 1.It is a machine which aheads datagrams over the networks.pdf
1.Router 1.It is a machine which aheads datagrams over the networks.pdf1.Router 1.It is a machine which aheads datagrams over the networks.pdf
1.Router 1.It is a machine which aheads datagrams over the networks.pdf
 
Step1 Total pressure = partial pressure of Hydrog.pdf
                     Step1 Total pressure = partial pressure of Hydrog.pdf                     Step1 Total pressure = partial pressure of Hydrog.pdf
Step1 Total pressure = partial pressure of Hydrog.pdf
 
I would say very many elements exista as monoatom.pdf
                     I would say very many elements exista as monoatom.pdf                     I would say very many elements exista as monoatom.pdf
I would say very many elements exista as monoatom.pdf
 
E is simply hexane...no polarity at all...nothing.pdf
                     E is simply hexane...no polarity at all...nothing.pdf                     E is simply hexane...no polarity at all...nothing.pdf
E is simply hexane...no polarity at all...nothing.pdf
 
Ferroxyl contains the chemical compound Potassium.pdf
                     Ferroxyl contains the chemical compound Potassium.pdf                     Ferroxyl contains the chemical compound Potassium.pdf
Ferroxyl contains the chemical compound Potassium.pdf
 
There are two different types of mechanisms. Ther.pdf
                     There are two different types of mechanisms. Ther.pdf                     There are two different types of mechanisms. Ther.pdf
There are two different types of mechanisms. Ther.pdf
 
What must be true about a set of data when its standard deviation is.pdf
What must be true about a set of data when its standard deviation is.pdfWhat must be true about a set of data when its standard deviation is.pdf
What must be true about a set of data when its standard deviation is.pdf
 
When one drives from sea level to trailhead in high Sierras, altitud.pdf
When one drives from sea level to trailhead in high Sierras, altitud.pdfWhen one drives from sea level to trailhead in high Sierras, altitud.pdf
When one drives from sea level to trailhead in high Sierras, altitud.pdf
 
the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf
                     the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf                     the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf
the reaction as follows- 14N7 + 0n1 -- 4He2 + 1.pdf
 
The important thing here is to understand the Standard Electrode Pot.pdf
The important thing here is to understand the Standard Electrode Pot.pdfThe important thing here is to understand the Standard Electrode Pot.pdf
The important thing here is to understand the Standard Electrode Pot.pdf
 
The pathway would be overactive.The GTPase activity of the alpha s.pdf
The pathway would be overactive.The GTPase activity of the alpha s.pdfThe pathway would be overactive.The GTPase activity of the alpha s.pdf
The pathway would be overactive.The GTPase activity of the alpha s.pdf
 
The metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdf
The metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdfThe metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdf
The metal ion is Pb2+.The white precipitate PbCl2 is insoluble in .pdf
 
The electron carriers that feed into the ETC are NADH and FADH2.NA.pdf
The electron carriers that feed into the ETC are NADH and FADH2.NA.pdfThe electron carriers that feed into the ETC are NADH and FADH2.NA.pdf
The electron carriers that feed into the ETC are NADH and FADH2.NA.pdf
 
The developmental potential, or potency of a cell, describes the ran.pdf
The developmental potential, or potency of a cell, describes the ran.pdfThe developmental potential, or potency of a cell, describes the ran.pdf
The developmental potential, or potency of a cell, describes the ran.pdf
 
Tested on linux,ubuntu#include stdlib.h #include systypes..pdf
Tested on linux,ubuntu#include stdlib.h #include systypes..pdfTested on linux,ubuntu#include stdlib.h #include systypes..pdf
Tested on linux,ubuntu#include stdlib.h #include systypes..pdf
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

1) List currently running jobsANS) see currently runningcommand.pdf

  • 1. 1) List currently running jobs ANS) see currently running command: ps examples: $ps 2.Kill one of the running jobs ANS) a.kill any process by PID command: kill {PID} example: $kill 1012 3.Run the ls command with –help option ANS) ls command: ls command is used to list the contents of a directory Syntax: ls [-a] [-A] [-b] [-c] [-C] [-d] [-f] [-F] [-g] [-i] [-l] [-L] [-m] [-o] [-p][-q] [-r] [-R] [-s] [-t] [-u] [-x] [pathnames] Parameters OR Switches • -a Shows All The Files, Including Hidden File Which Begin With ADot. • -A Shows All The Files Including Hidden Files. Does Not Displays The Working Directory (.) OR The Parent Directory (..) • -b Force Printing of Non-Printable Characters To Be in Octal ddd Notation. • -c Use Time of Last Modification of The i-Node For Sorting (-t) OR For Printing (-l OR -n) • -C Multi-Column Output With Entries Sorted Down The Columns. Which is Generally The Default Option. • -d Lists Only The Directory Names But Not its Contents. • -f Force Each Argument To Be Interpreted As A Directory And List The Name Found in Each Slot. -f Option Turns off -l, -t, -s, And -r, And Turns on –a, The List Order is The Order in Which Entries Appear in The Directory. • -F Mark Directories With A Trailing Slash (/), DOORS With A Trailing Greater-Than Sign (>), Executable Files With A Trailing Asterisk (*), FIFOs With A Trailing Vertical Bar (|), Symbolic Links With A Trailing
  • 2. Equals Sign (=). • -g Same As -l Parameter, Except The Owner is Not Printed. • -i For Each File, Prints The i-Node Number in The First Column. • -l Shows The User With Huge Amounts of Information With Permissions, Owners, Size, And When Last Modified.) • -L If An Argument is A Symbolic Link, List The File OR Directory To Which The Link References Rather Than The Link Itself. • -m Stream Output Format, In This Files Are Listed Across The Page, Separated By Commas. • -n Same As –l Parameter, Except That The Owner's UID And Group's GID Numbers Are Printed, Rather Than The Associated Character Strings. -o The Same As -l, Except That The Group is Not Printed. -p Displays A Forward Slash (/) in Front of All Directories. -q Force Printing of Non-Printable Characters in File Names As The Character Question Mark (?). -r Reverses The Order of How The Files Are Displayed. -R Includes The Contents of Subdirectories. -s Give Size in Blocks, Including Indirect Blocks, For Each Entry. -t Shows The End User The Files Modification Time. -u Use Time of Last Access Instead of Last Modification For Sorting Use With The -t Option OR For Printing Use With The -l Option. -x Displays Files in Columns. -1 Prints One Entry Per Line of Output. pathnames File OR Directory To List. 4.Run the help command on echo ANS) echo command display to the Screen. “echo” is Useful For • Producing Diagnostics in Command Files • For Sending Known Data into A Pipe • For Displaying The Contents of Environment Variables syntax: echo [-n] text 5.Cat an existing file using a command that misspells one character in the filename 6.Write today’s date and time
  • 3. ANS)“date” Command • “date” Tells Us The Date And Time in UNIX. Syntax date [-a] [-u] [-s datestr] Linux Date Command To Format Both The Date And Time Part date '+%m-%d-%Y %H-%M-%S‘ 7.Exit the script using exit command ANS) exit” Command • “exit” Command Allows The Linux User To Exit From A Program, Shell OR Log The End User Out of A Linux Network. Syntax exit Note • If Exit Does Not Helps in Logging Out We Can Try “logout”, “lo”, “bye”, “quit”, OR CTRL + D. • “exit” is Essential To Terminate Ideal Process For A User Solution 1) List currently running jobs ANS) see currently running command: ps examples: $ps 2.Kill one of the running jobs ANS) a.kill any process by PID command: kill {PID} example: $kill 1012 3.Run the ls command with –help option ANS) ls command: ls command is used to list the contents of a directory Syntax: ls [-a] [-A] [-b] [-c] [-C] [-d] [-f] [-F] [-g] [-i] [-l] [-L] [-m] [-o] [-p][-q] [-r] [-R] [-s] [-t] [-u] [-x]
  • 4. [pathnames] Parameters OR Switches • -a Shows All The Files, Including Hidden File Which Begin With ADot. • -A Shows All The Files Including Hidden Files. Does Not Displays The Working Directory (.) OR The Parent Directory (..) • -b Force Printing of Non-Printable Characters To Be in Octal ddd Notation. • -c Use Time of Last Modification of The i-Node For Sorting (-t) OR For Printing (-l OR -n) • -C Multi-Column Output With Entries Sorted Down The Columns. Which is Generally The Default Option. • -d Lists Only The Directory Names But Not its Contents. • -f Force Each Argument To Be Interpreted As A Directory And List The Name Found in Each Slot. -f Option Turns off -l, -t, -s, And -r, And Turns on –a, The List Order is The Order in Which Entries Appear in The Directory. • -F Mark Directories With A Trailing Slash (/), DOORS With A Trailing Greater-Than Sign (>), Executable Files With A Trailing Asterisk (*), FIFOs With A Trailing Vertical Bar (|), Symbolic Links With A Trailing Equals Sign (=). • -g Same As -l Parameter, Except The Owner is Not Printed. • -i For Each File, Prints The i-Node Number in The First Column. • -l Shows The User With Huge Amounts of Information With Permissions, Owners, Size, And When Last Modified.) • -L If An Argument is A Symbolic Link, List The File OR Directory To Which The Link References Rather Than The Link Itself. • -m Stream Output Format, In This Files Are Listed Across The Page, Separated By Commas. • -n Same As –l Parameter, Except That The Owner's UID And Group's GID Numbers Are Printed, Rather Than The Associated Character Strings. -o The Same As -l, Except That The Group is Not Printed. -p Displays A Forward Slash (/) in Front of All Directories. -q Force Printing of Non-Printable Characters in File Names As The Character Question Mark (?).
  • 5. -r Reverses The Order of How The Files Are Displayed. -R Includes The Contents of Subdirectories. -s Give Size in Blocks, Including Indirect Blocks, For Each Entry. -t Shows The End User The Files Modification Time. -u Use Time of Last Access Instead of Last Modification For Sorting Use With The -t Option OR For Printing Use With The -l Option. -x Displays Files in Columns. -1 Prints One Entry Per Line of Output. pathnames File OR Directory To List. 4.Run the help command on echo ANS) echo command display to the Screen. “echo” is Useful For • Producing Diagnostics in Command Files • For Sending Known Data into A Pipe • For Displaying The Contents of Environment Variables syntax: echo [-n] text 5.Cat an existing file using a command that misspells one character in the filename 6.Write today’s date and time ANS)“date” Command • “date” Tells Us The Date And Time in UNIX. Syntax date [-a] [-u] [-s datestr] Linux Date Command To Format Both The Date And Time Part date '+%m-%d-%Y %H-%M-%S‘ 7.Exit the script using exit command ANS) exit” Command • “exit” Command Allows The Linux User To Exit From A Program, Shell OR Log The End User Out of A Linux Network. Syntax exit Note • If Exit Does Not Helps in Logging Out We Can Try “logout”, “lo”, “bye”, “quit”, OR CTRL + D. • “exit” is Essential To Terminate Ideal Process For A User