SlideShare a Scribd company logo
Command/Syntax

Unix Commands
What it will do

awk/nawk [options] file

scan for patterns in a file and process the results

cat [options] file

concatenate (list) a file

cd [directory]

change directory

chgrp [options] group file change the group of the file
chmod [options] file

change file or directory access permissions

chown [options] owner file

change the ownership of a file; can only be done by the
superuser

chsh (passwd -e/-s)
username login_shell

change the user's login shell (often only by the superuser)

cmp [options] file1 file2

compare two files and list where differences occur (text or
binary files)

compress [options] file

compress file and save it as file.Z

cp [options] file1 file2

copy file1 into file2; file2 shouldn't already exist. This
command creates or overwrites file2.

cut (options) [file(s)]

cut specified field(s)/character(s) from lines in file(s)

date [options]

report the current date and time

dd [if=infile] [of=outfile]
[operand=value]

copy a file, converting between ASCII and EBCDIC or
swapping byte order, as specified

diff [options] file1 file2

compare the two files and display the differences (text files
only)

df [options] [resource]

report the summary of disk blocks and inodes free and in use

du [options] [directory or
report amount of disk space in use
file]
echo [text string]

echo the text string to stdout

ed or ex [options] file

Unix line editors

emacs [options] file

full-screen editor

expr arguments

evaluate the arguments. Used to do arithmetic, etc. in the
shell.

file [options] file

Classify the file type

find directory [options]
[actions]

find files matching a type or pattern

finger [options]
user[@hostname]

report information about users on local and remote machines

ftp [options] host

Transfer file(s) using file transfer protocol

grep [options] 'search
string' argument

search the argument (in this case probably a file) for all
occurrences of the search string, and list them.
egrep [options] 'search
string' argument
fgrep [options] 'search
string' argument
gzip [options] file
gunzip [options] file

compress or uncompress a file. Compressed files are stored
with a .gz ending

zcat [options] file
head [-number] file

display the first 10 (or number of) lines of a file

hostname

display or set (super-user only) the name of the current
machine

kill [options] [-SIGNAL]
[pid#] [%job]

send a signal to the process with the process id number
(pid#) or job control number (%n). The default signal is to
kill the process.

ln [options] source_file
target

link the source_file to the target

lpq [options]
show the status of print jobs
lpstat [options]
lpr [options] file
print to defined printer
lp [options] file
lprm [options]
Remove a print job from the print queue
cancel [options]
ls [options] [directory or
file]

list directory contents or file permissions

mail [options] [user]
mailx [options] [user]

simple email utility available on Unix systems. Type a
period as the first character on a new line to send message
out, question mark for help.

Mail [options] [user]
man [options] command

show the manual (man) page for a command

mkdir [options] directory make a directory
More [options] file
less [options] file
pg [options] file

page through a text file
mv [options] file1 file2

move file1 into file2

od [options] file

octal dump a binary file, in octal, ASCII, hex, decimal, or
character mode.

passwd [options]

set or change your password

Paste [options] file

paste field(s) onto the lines in file

pr [options] file

filter the file and print it on the terminal

ps [options]

show status of active processes

pwd

print working (current) directory

rcp [options] hostname

remotely copy files from this machine to another machine

rlogin [options] hostname login remotely to another machine
rm [options] file

remove (delete) a file or directory (-r recursively deletes the
directory and its contents) (-i prompts before removing files)

rmdir [options] directory remove a directory
rsh [options] hostname

remote shell to run on another machine

script file

saves everything that appears on the screen to file until exit
is executed

sed [options] file

stream editor for editing files from a script or from the
command line

sort [options] file

sort the lines of the file according to the options chosen

source file
. file

read commands from the file and execute them in the
current shell. source: C shell, .: Bourne shell.

strings [options] file

report any sequence of 4 or more printable characters ending
in <NL> or <NULL>. Usually used to search binary files for
ASCII strings.

stty [options]

set or display terminal control options

tail [options] file

display the last few lines (or parts) of a file

tar key[options] [file(s)]

tape archiver--refer to man pages for details on creating,
listing, and retrieving from archive files. Tar files can be
stored on tape or disk.

tee [options] file

copy stdout to one or more files

telnet [host [port]]

communicate with another host using telnet protocol

Touch [options] [date] file

create an empty file, or update the access time of an existing
file

tr [options] string1 string2

translate the characters in string1 from stdin into those in
string2 in stdout

uncompress file.Z

uncompress file.Z and save it as a file

uniq [options] file

remove repeated lines in a file
uudecode [file]

decode a uuencoded file, recreating the original file

uuencode [file] new_name

encode binary file to 7-bit ASCII, useful when sending via
email, to be decoded as new_name at destination

vi [options] file

visual, full-screen editor

wc [options] [file(s)]

display word (or character or line) count for file(s)

whereis [options]
command

report the binary, source, and man page locations for the
command named

which command

reports the path to the command or the shell alias in use

who or w

report who is logged in and what processes are running

zcat file.Z

concatenate (list) uncompressed file to screen, leaving file
compressed on disk

Quick List:
WHO,PWD,LS
HEAD,MORE, TAIL
PS, KILL
Ed, Sed, Vi
DU, WC
GREP, AWK, FTP, TELNET

More Related Content

What's hot

Course 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking HelpCourse 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking Help
Ahmed El-Arabawy
ย 
Basic basic solaris quick referent card
Basic basic solaris quick referent cardBasic basic solaris quick referent card
Basic basic solaris quick referent card
Bui Van Cuong
ย 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
Prabu Cse
ย 
Course 102: Lecture 17: Process Monitoring
Course 102: Lecture 17: Process Monitoring Course 102: Lecture 17: Process Monitoring
Course 102: Lecture 17: Process Monitoring
Ahmed El-Arabawy
ย 
Course 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild CardsCourse 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild Cards
Ahmed El-Arabawy
ย 
Linux commands part -2
Linux commands part -2Linux commands part -2
Linux commands part -2
bhatvijetha
ย 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
abclearnn
ย 
Linux
LinuxLinux
Linux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for BeginnersLinux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for Beginners
Davide Ciambelli
ย 
List command linux a z
List command linux a zList command linux a z
List command linux a z
Jinyuan Loh
ย 
Unix command
Unix commandUnix command
Unix command
Atul Pant
ย 
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
swtjerin4u
ย 
Linux cheat-sheet
Linux cheat-sheetLinux cheat-sheet
Linux cheat-sheet
Craig Cannon
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 

What's hot (15)

Course 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking HelpCourse 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking Help
ย 
Basic basic solaris quick referent card
Basic basic solaris quick referent cardBasic basic solaris quick referent card
Basic basic solaris quick referent card
ย 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
ย 
Course 102: Lecture 17: Process Monitoring
Course 102: Lecture 17: Process Monitoring Course 102: Lecture 17: Process Monitoring
Course 102: Lecture 17: Process Monitoring
ย 
Course 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild CardsCourse 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild Cards
ย 
Linux commands part -2
Linux commands part -2Linux commands part -2
Linux commands part -2
ย 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
ย 
Linux
LinuxLinux
Linux
ย 
Linux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for BeginnersLinux Bash Shell Cheat Sheet for Beginners
Linux Bash Shell Cheat Sheet for Beginners
ย 
List command linux a z
List command linux a zList command linux a z
List command linux a z
ย 
Unix command
Unix commandUnix command
Unix command
ย 
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
ย 
Linux cheat-sheet
Linux cheat-sheetLinux cheat-sheet
Linux cheat-sheet
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
ย 

Viewers also liked

Linux Command Line Basics
Linux Command Line BasicsLinux Command Line Basics
Linux Command Line Basics
We Ihaveapc
ย 
Unix
UnixUnix
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
srinivas damarla
ย 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
mentorsnet
ย 
Java For beginners and CSIT and IT students
Java  For beginners and CSIT and IT studentsJava  For beginners and CSIT and IT students
Java For beginners and CSIT and IT students
Partnered Health
ย 
Java Notes
Java NotesJava Notes
Java Notes
Abhishek Khune
ย 
Unix command line concepts
Unix command line conceptsUnix command line concepts
Unix command line concepts
Artem Nagornyi
ย 
Unix commands in etl testing
Unix commands in etl testingUnix commands in etl testing
Unix commands in etl testing
Garuda Trainings
ย 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
Rohit Kumar
ย 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
anandvaidya
ย 
Unix command-line tools
Unix command-line toolsUnix command-line tools
Unix command-line tools
Eric Wilson
ย 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
kalyanineve
ย 
Core java complete notes - Contact at +91-814-614-5674
Core java complete notes - Contact at +91-814-614-5674Core java complete notes - Contact at +91-814-614-5674
Core java complete notes - Contact at +91-814-614-5674
Lokesh Kakkar Mobile No. 814-614-5674
ย 
Java SE 8 best practices
Java SE 8 best practicesJava SE 8 best practices
Java SE 8 best practices
Stephen Colebourne
ย 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
iimjobs and hirist
ย 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
onu9
ย 

Viewers also liked (16)

Linux Command Line Basics
Linux Command Line BasicsLinux Command Line Basics
Linux Command Line Basics
ย 
Unix
UnixUnix
Unix
ย 
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
ย 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
ย 
Java For beginners and CSIT and IT students
Java  For beginners and CSIT and IT studentsJava  For beginners and CSIT and IT students
Java For beginners and CSIT and IT students
ย 
Java Notes
Java NotesJava Notes
Java Notes
ย 
Unix command line concepts
Unix command line conceptsUnix command line concepts
Unix command line concepts
ย 
Unix commands in etl testing
Unix commands in etl testingUnix commands in etl testing
Unix commands in etl testing
ย 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
ย 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
ย 
Unix command-line tools
Unix command-line toolsUnix command-line tools
Unix command-line tools
ย 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
ย 
Core java complete notes - Contact at +91-814-614-5674
Core java complete notes - Contact at +91-814-614-5674Core java complete notes - Contact at +91-814-614-5674
Core java complete notes - Contact at +91-814-614-5674
ย 
Java SE 8 best practices
Java SE 8 best practicesJava SE 8 best practices
Java SE 8 best practices
ย 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
ย 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
ย 

Similar to Unix short

Linux comands for Beginners
Linux comands for BeginnersLinux comands for Beginners
Linux comands for Beginners
Muhammad Farhan, SAFe Agilist, CSM, PMP
ย 
Raj linux
Raj linux Raj linux
Raj linux
firstplanet
ย 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
Prabu Cse
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
banubabitha
ย 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
GiovaRossi
ย 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
GiovaRossi
ย 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
GiovaRossi
ย 
Applecmdlista zs
Applecmdlista zsApplecmdlista zs
Applecmdlista zs
Ben Pope
ย 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
Teja Bheemanapally
ย 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
Teja Bheemanapally
ย 
An a z index of the bash commands
An a z index of the bash commandsAn a z index of the bash commands
An a z index of the bash commands
Ben Pope
ย 
Linux com
Linux comLinux com
Lesson 3 Working with Files in Linux
Lesson 3 Working with Files in LinuxLesson 3 Working with Files in Linux
Lesson 3 Working with Files in Linux
Sadia Bashir
ย 
Linux
LinuxLinux
Linux
merlin deepika
ย 

Similar to Unix short (20)

Linux comands for Beginners
Linux comands for BeginnersLinux comands for Beginners
Linux comands for Beginners
ย 
Raj linux
Raj linux Raj linux
Raj 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
ย 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
ย 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
ย 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
ย 
Applecmdlista zs
Applecmdlista zsApplecmdlista zs
Applecmdlista zs
ย 
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
ย 
An a z index of the bash commands
An a z index of the bash commandsAn a z index of the bash commands
An a z index of the bash commands
ย 
Linux com
Linux comLinux com
Linux com
ย 
Lesson 3 Working with Files in Linux
Lesson 3 Working with Files in LinuxLesson 3 Working with Files in Linux
Lesson 3 Working with Files in Linux
ย 
Linux
LinuxLinux
Linux
ย 

More from Sunil Kumar Gunasekaran

CQL - Cassandra commands Notes
CQL - Cassandra commands NotesCQL - Cassandra commands Notes
CQL - Cassandra commands Notes
Sunil Kumar Gunasekaran
ย 
Java J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus ChecklistJava J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus Checklist
Sunil Kumar Gunasekaran
ย 
Amazon search test case document
Amazon search test case documentAmazon search test case document
Amazon search test case document
Sunil Kumar Gunasekaran
ย 
Actual test case document
Actual test case documentActual test case document
Actual test case document
Sunil Kumar Gunasekaran
ย 
Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)
Sunil Kumar Gunasekaran
ย 
Sql reference from w3 schools
Sql reference from w3 schools Sql reference from w3 schools
Sql reference from w3 schools
Sunil Kumar Gunasekaran
ย 
Sql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shotsSql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shots
Sunil Kumar Gunasekaran
ย 
Wells fargo banking system ER Diagram
Wells fargo banking system ER DiagramWells fargo banking system ER Diagram
Wells fargo banking system ER Diagram
Sunil Kumar Gunasekaran
ย 
Business Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable SystemBusiness Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable System
Sunil Kumar Gunasekaran
ย 
Automation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistAutomation Testing Syllabus - Checklist
Automation Testing Syllabus - Checklist
Sunil Kumar Gunasekaran
ย 
Unix made easy
Unix made easyUnix made easy
Unix made easy
Sunil Kumar Gunasekaran
ย 
Test process - Important Concepts
Test process - Important ConceptsTest process - Important Concepts
Test process - Important Concepts
Sunil Kumar Gunasekaran
ย 
Testing http methods using Telnet
Testing http methods using TelnetTesting http methods using Telnet
Testing http methods using Telnet
Sunil Kumar Gunasekaran
ย 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
Sunil Kumar Gunasekaran
ย 
Scrum writeup - Agile
Scrum writeup - Agile Scrum writeup - Agile
Scrum writeup - Agile
Sunil Kumar Gunasekaran
ย 
Scrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models OverviewScrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models Overview
Sunil Kumar Gunasekaran
ย 
PERL for QA - Important Commands and applications
PERL for QA - Important Commands and applicationsPERL for QA - Important Commands and applications
PERL for QA - Important Commands and applications
Sunil Kumar Gunasekaran
ย 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examples
Sunil Kumar Gunasekaran
ย 
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Sunil Kumar Gunasekaran
ย 
Fitnesse user acceptance test - Presentation
Fitnesse   user acceptance test - PresentationFitnesse   user acceptance test - Presentation
Fitnesse user acceptance test - Presentation
Sunil Kumar Gunasekaran
ย 

More from Sunil Kumar Gunasekaran (20)

CQL - Cassandra commands Notes
CQL - Cassandra commands NotesCQL - Cassandra commands Notes
CQL - Cassandra commands Notes
ย 
Java J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus ChecklistJava J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus Checklist
ย 
Amazon search test case document
Amazon search test case documentAmazon search test case document
Amazon search test case document
ย 
Actual test case document
Actual test case documentActual test case document
Actual test case document
ย 
Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)Sample Technical Requirement Document (TRD)
Sample Technical Requirement Document (TRD)
ย 
Sql reference from w3 schools
Sql reference from w3 schools Sql reference from w3 schools
Sql reference from w3 schools
ย 
Sql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shotsSql commands worked out in sql plus with screen shots
Sql commands worked out in sql plus with screen shots
ย 
Wells fargo banking system ER Diagram
Wells fargo banking system ER DiagramWells fargo banking system ER Diagram
Wells fargo banking system ER Diagram
ย 
Business Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable SystemBusiness Requirements Document for Acounts Payable System
Business Requirements Document for Acounts Payable System
ย 
Automation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistAutomation Testing Syllabus - Checklist
Automation Testing Syllabus - Checklist
ย 
Unix made easy
Unix made easyUnix made easy
Unix made easy
ย 
Test process - Important Concepts
Test process - Important ConceptsTest process - Important Concepts
Test process - Important Concepts
ย 
Testing http methods using Telnet
Testing http methods using TelnetTesting http methods using Telnet
Testing http methods using Telnet
ย 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
ย 
Scrum writeup - Agile
Scrum writeup - Agile Scrum writeup - Agile
Scrum writeup - Agile
ย 
Scrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models OverviewScrum, V Model and RUP Models Overview
Scrum, V Model and RUP Models Overview
ย 
PERL for QA - Important Commands and applications
PERL for QA - Important Commands and applicationsPERL for QA - Important Commands and applications
PERL for QA - Important Commands and applications
ย 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examples
ย 
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
Java programs - bubble sort, iterator, linked list, hash set, reverse string,...
ย 
Fitnesse user acceptance test - Presentation
Fitnesse   user acceptance test - PresentationFitnesse   user acceptance test - Presentation
Fitnesse user acceptance test - Presentation
ย 

Recently uploaded

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
ย 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
ย 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
ย 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
ย 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
ย 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
ย 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
ย 
Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...
Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...
Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...
Nguyen Thanh Tu Collection
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
ย 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
ย 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
ย 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
ย 
Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.
IsmaelVazquez38
ย 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
ย 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
ย 
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
ย 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
ย 

Recently uploaded (20)

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
ย 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
ย 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
ย 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
ย 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
ย 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
ย 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
ย 
Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...
Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...
Bร€I TแบฌP Dแบ Y THรŠM TIแบพNG ANH LแปšP 7 Cแบข Nฤ‚M FRIENDS PLUS SรCH CHร‚N TRแปœI SรNG Tแบ O ...
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
ย 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
ย 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
ย 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
ย 
Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.
ย 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
ย 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
ย 
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
ย 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
ย 

Unix short

  • 1. Command/Syntax Unix Commands What it will do awk/nawk [options] file scan for patterns in a file and process the results cat [options] file concatenate (list) a file cd [directory] change directory chgrp [options] group file change the group of the file chmod [options] file change file or directory access permissions chown [options] owner file change the ownership of a file; can only be done by the superuser chsh (passwd -e/-s) username login_shell change the user's login shell (often only by the superuser) cmp [options] file1 file2 compare two files and list where differences occur (text or binary files) compress [options] file compress file and save it as file.Z cp [options] file1 file2 copy file1 into file2; file2 shouldn't already exist. This command creates or overwrites file2. cut (options) [file(s)] cut specified field(s)/character(s) from lines in file(s) date [options] report the current date and time dd [if=infile] [of=outfile] [operand=value] copy a file, converting between ASCII and EBCDIC or swapping byte order, as specified diff [options] file1 file2 compare the two files and display the differences (text files only) df [options] [resource] report the summary of disk blocks and inodes free and in use du [options] [directory or report amount of disk space in use file] echo [text string] echo the text string to stdout ed or ex [options] file Unix line editors emacs [options] file full-screen editor expr arguments evaluate the arguments. Used to do arithmetic, etc. in the shell. file [options] file Classify the file type find directory [options] [actions] find files matching a type or pattern finger [options] user[@hostname] report information about users on local and remote machines ftp [options] host Transfer file(s) using file transfer protocol grep [options] 'search string' argument search the argument (in this case probably a file) for all occurrences of the search string, and list them.
  • 2. egrep [options] 'search string' argument fgrep [options] 'search string' argument gzip [options] file gunzip [options] file compress or uncompress a file. Compressed files are stored with a .gz ending zcat [options] file head [-number] file display the first 10 (or number of) lines of a file hostname display or set (super-user only) the name of the current machine kill [options] [-SIGNAL] [pid#] [%job] send a signal to the process with the process id number (pid#) or job control number (%n). The default signal is to kill the process. ln [options] source_file target link the source_file to the target lpq [options] show the status of print jobs lpstat [options] lpr [options] file print to defined printer lp [options] file lprm [options] Remove a print job from the print queue cancel [options] ls [options] [directory or file] list directory contents or file permissions mail [options] [user] mailx [options] [user] simple email utility available on Unix systems. Type a period as the first character on a new line to send message out, question mark for help. Mail [options] [user] man [options] command show the manual (man) page for a command mkdir [options] directory make a directory More [options] file less [options] file pg [options] file page through a text file
  • 3. mv [options] file1 file2 move file1 into file2 od [options] file octal dump a binary file, in octal, ASCII, hex, decimal, or character mode. passwd [options] set or change your password Paste [options] file paste field(s) onto the lines in file pr [options] file filter the file and print it on the terminal ps [options] show status of active processes pwd print working (current) directory rcp [options] hostname remotely copy files from this machine to another machine rlogin [options] hostname login remotely to another machine rm [options] file remove (delete) a file or directory (-r recursively deletes the directory and its contents) (-i prompts before removing files) rmdir [options] directory remove a directory rsh [options] hostname remote shell to run on another machine script file saves everything that appears on the screen to file until exit is executed sed [options] file stream editor for editing files from a script or from the command line sort [options] file sort the lines of the file according to the options chosen source file . file read commands from the file and execute them in the current shell. source: C shell, .: Bourne shell. strings [options] file report any sequence of 4 or more printable characters ending in <NL> or <NULL>. Usually used to search binary files for ASCII strings. stty [options] set or display terminal control options tail [options] file display the last few lines (or parts) of a file tar key[options] [file(s)] tape archiver--refer to man pages for details on creating, listing, and retrieving from archive files. Tar files can be stored on tape or disk. tee [options] file copy stdout to one or more files telnet [host [port]] communicate with another host using telnet protocol Touch [options] [date] file create an empty file, or update the access time of an existing file tr [options] string1 string2 translate the characters in string1 from stdin into those in string2 in stdout uncompress file.Z uncompress file.Z and save it as a file uniq [options] file remove repeated lines in a file
  • 4. uudecode [file] decode a uuencoded file, recreating the original file uuencode [file] new_name encode binary file to 7-bit ASCII, useful when sending via email, to be decoded as new_name at destination vi [options] file visual, full-screen editor wc [options] [file(s)] display word (or character or line) count for file(s) whereis [options] command report the binary, source, and man page locations for the command named which command reports the path to the command or the shell alias in use who or w report who is logged in and what processes are running zcat file.Z concatenate (list) uncompressed file to screen, leaving file compressed on disk Quick List: WHO,PWD,LS HEAD,MORE, TAIL PS, KILL Ed, Sed, Vi DU, WC GREP, AWK, FTP, TELNET