Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
100%
(4)
100% found this document useful (4 votes)
3K views
Linux Command Syntax Reference Poster
This pdf contains important Linux Reference Commands.. It is very useful for the new learners of linux.
Uploaded by
hrishikeshanand
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Linux Command Syntax Reference Poster For Later
Download
Save
Save Linux Command Syntax Reference Poster For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
100%
(4)
100% found this document useful (4 votes)
3K views
Linux Command Syntax Reference Poster
This pdf contains important Linux Reference Commands.. It is very useful for the new learners of linux.
Uploaded by
hrishikeshanand
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Linux Command Syntax Reference Poster For Later
Carousel Previous
Carousel Next
Save
Save Linux Command Syntax Reference Poster For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
Linux Command Syntax Reference Poster
Administrator Commands File Permission Commands
Shutdown and restart server … reboot shutdown -r now chmod ogw filename chmod 744 /etc/passwd
Kill all processes using pattern xxx pkill [-9] “xxx” Owner Group World Meaning
Kill all processes for user xxx pkill [-9] -u xxx 7 7 7 Read + Write + execute
Show swap space usage by device swapon -s 6 6 6 Read + Write
Show Linux syslog errors tail /var/log/messages 5 5 5 Read + execute
Kill a stubborn process kill –9 pid# 4 4 4 read only
See shared memory segments ipcs -m 3 3 3 Write + execute
Remove shared memory segment xxxx ipcrm –m xxxx 2 2 2 write only
Show processes with CPU and MEM usage ps aux 1 1 1 Execute only
Show Linux system parms (root) sysctl -a
Display most active processes top Permission Meaning
Watch active file writes (appends) tail –f filename -rw------- This file has read-write permissions for the file owner
Create Hex dump of file od –x filename -rw-r--r-- This file has read-write for the owner, read for group & world
Mail a set of files cat file1.tst file2.txt > mail –s “Daily Files” don@burleson.cc drwxr-xr-x Directory – Read-write-execute owner, read-execute group & world
Count of online users uptime -r-xr----- Read-execute for owner, read for group
Display users w -r-------- Read for owner
List process IDs for user xxx ps -u xxx -rw-rw-r-- Read-write for owner and group, read for world
Linux command history one screen at a time history | more
Show task dispatching priority ps lax | more File Commands
Create a complex alias alias alert='tail -200 filename.log | more' Mount a remote file system mount host:/hostpath /alias/pathname
Delete files > 20 days old find . –mtime +20 -exec rm {} \; Remount a lost file system mount –a
Remote file copy scp hostname:/file/name .
Security Commands Create a symbolic link to a file ln –s destination_name file_name
Show file space usage summary du –sk * |sort –n
Grant execute permission to all for *.ksh files chmod +x *.ksh Create an archive of a directory tar cvf file.tar directoryname
Allow the owner write and execute permission chmod u+wx * Extract from an archive tar xvf file.tar
See default settings for userx cat /etc/passwd|grep userx Find most recent file in directory ls -t|head
Display last 100 lines of file xxx tail -100 xxx|more
Search Commands Create a new file named xxx touch xxx
See most recent changed file ls –alc|head Rename file xxx to yyy mv xxx yyy
See most recent file touch ls –alt|head Prevent accidental file deletion … confirm alias rm='rm -i'
Search binary file for xxx string strings filename|grep xxx Linux File Locations
Find files < 3 days old find . –mtime –3 –print
User identification file /etc/passwd
Crontab Examples
Find files size > 10k find . –size +10 –print
System error log /var/log/messages #****************************************************************
Find strings in directory grep -ri string .
# This is a weekly task, Sunday at 7:30 AM
Find file columns with column 4=x or y egrep ‘^…(x|y)’ < inputfile
Find directory for file xxx in $PATH which xxx vi Commands #****************************************************************
30 7 * * 0 /home/analyze.ksh > /home/analyze.lst
Find process 999 ps u 999 Delete lines to EOF dG #****************************************************************
Read-in new file :r filename # This is the daily 1:00 PM task
Disk and Filesystem Commands Change all xxx to yyy <esc>:.,$s/xxx/yyy/g #****************************************************************
Save and exit <esc>:x 00 13 * * * /home/statspack/statspack_alert.ksh prodsid
Mount points for disk df –P
Find string xxx <esc>/xxx #****************************************************************
Show volume groups vgdisplay
Change word (from cursor) to yyy cw yyy <esc> # This task is scheduled every 2 minutes
Display disk usage of current mount point df -h .
Repeat last command . #****************************************************************
Repeat last find command / 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,
CPU & RAM Commands 51,53,55,57,59 * * * * /home/trace_alert.ksh prodsid > /dev/null 2>&1
Display the number of CPUs cat /proc/cpuinfo|grep processor|wc –l Script Commands
Show top CPU% ps aux|sort -n +2|tail -1 Display command return code echo $? ISBN 0-9759135-8-1 ISBN: 0-9759135-8-1
Display top-10 CPU consumers ps aux|sort -rn +2|grep –v USER|head -10 Increment a counter count=`expr $count + 1`
50295> Price: $2.95
RAM memory display free Add two variables TOT=`expr $SYS + $USR`
Copyright © 2004
Date Display Commands Rampant Tech Press
All Rights Reserved
root> date "+DATE: %m/%d/%y%nTIME: %H:%M:%S" DATE: 09/04/01 TIME: 09:37:49 9 780975 913581
You might also like
RHCSA Cheatsheet
PDF
No ratings yet
RHCSA Cheatsheet
21 pages
Solution: Wireshark Lab: TCP
PDF
100% (1)
Solution: Wireshark Lab: TCP
14 pages
Ubuntu
PDF
No ratings yet
Ubuntu
67 pages
Package Management Cheatsheet
PDF
0% (1)
Package Management Cheatsheet
1 page
Kali Linux Commands PDF
PDF
No ratings yet
Kali Linux Commands PDF
13 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
Valkyrie User Manual - en
PDF
No ratings yet
Valkyrie User Manual - en
80 pages
Bosch Camera Price
PDF
No ratings yet
Bosch Camera Price
30 pages
Linux Commands Cheat Sheet 2234
PDF
100% (1)
Linux Commands Cheat Sheet 2234
10 pages
Essential Vim Commands Cheat Sheet
PDF
No ratings yet
Essential Vim Commands Cheat Sheet
1 page
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Anaconda Starter Guide CheatSheet
PDF
No ratings yet
Anaconda Starter Guide CheatSheet
2 pages
Basic Linux Commands
PDF
No ratings yet
Basic Linux Commands
6 pages
Linux Notes For Final
PDF
No ratings yet
Linux Notes For Final
65 pages
Basic Linux Commands
PDF
100% (1)
Basic Linux Commands
47 pages
Linux File System Hierarchy
PDF
No ratings yet
Linux File System Hierarchy
127 pages
PowerShell Training Primer
PDF
100% (1)
PowerShell Training Primer
29 pages
Lesson 23 - Linux Mail Server With Webmail
PDF
No ratings yet
Lesson 23 - Linux Mail Server With Webmail
5 pages
Linux Exam 1
PDF
No ratings yet
Linux Exam 1
8 pages
Linux
PDF
No ratings yet
Linux
1 page
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
System D and More Commands
PDF
No ratings yet
System D and More Commands
87 pages
Adhish Singh Kunwar A2
PDF
No ratings yet
Adhish Singh Kunwar A2
37 pages
Vi Editor Quick Sheet
PDF
No ratings yet
Vi Editor Quick Sheet
1 page
Configure Use Tomcat
PDF
No ratings yet
Configure Use Tomcat
5 pages
Linux Bash Shell Cheat Sheet: Basic Commands Basic Terminal Shortcuts Basic File Manipulation
PDF
No ratings yet
Linux Bash Shell Cheat Sheet: Basic Commands Basic Terminal Shortcuts Basic File Manipulation
6 pages
Python Package Management 08
PDF
No ratings yet
Python Package Management 08
57 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
Linux Networking Cheat Sheet
PDF
No ratings yet
Linux Networking Cheat Sheet
2 pages
Choosing Compute Options
PDF
No ratings yet
Choosing Compute Options
45 pages
LINUX Lab Experiments-Edited Version
PDF
100% (1)
LINUX Lab Experiments-Edited Version
85 pages
Linux Tutorial - 9. Discover Filters
PDF
No ratings yet
Linux Tutorial - 9. Discover Filters
15 pages
Linux Directory Structure Explained
PDF
No ratings yet
Linux Directory Structure Explained
3 pages
GRUB 2 Bootloader - Full Tutorial
PDF
No ratings yet
GRUB 2 Bootloader - Full Tutorial
47 pages
Lars Vogel, Alex Blewitt - Distributed Version Control With Git - Mastering The Git Command Line - Third Edition (2014, Lars Vogel)
PDF
No ratings yet
Lars Vogel, Alex Blewitt - Distributed Version Control With Git - Mastering The Git Command Line - Third Edition (2014, Lars Vogel)
409 pages
Linux For Beginners
PDF
No ratings yet
Linux For Beginners
156 pages
Linux Ip Tables
PDF
No ratings yet
Linux Ip Tables
20 pages
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
Introduction To The Linux Operating System
PDF
100% (2)
Introduction To The Linux Operating System
31 pages
Characters: Character Legend Example Sample Match
PDF
No ratings yet
Characters: Character Legend Example Sample Match
5 pages
Linux Interview Question
PDF
No ratings yet
Linux Interview Question
45 pages
Unix/Linux Command Reference: File Commands System Info
PDF
No ratings yet
Unix/Linux Command Reference: File Commands System Info
2 pages
Linux Basics: Weesan Lee
PDF
No ratings yet
Linux Basics: Weesan Lee
12 pages
Grub2 - Community Ubuntu Documentation
PDF
No ratings yet
Grub2 - Community Ubuntu Documentation
29 pages
Perl Coding Guidelines
PDF
No ratings yet
Perl Coding Guidelines
12 pages
Learning REGEX
PDF
No ratings yet
Learning REGEX
94 pages
Apache Tomcat File Config
PDF
No ratings yet
Apache Tomcat File Config
10 pages
List of Unix Commands
PDF
No ratings yet
List of Unix Commands
8 pages
Ansible Tutorial
PDF
No ratings yet
Ansible Tutorial
3 pages
Sed - An Introduction and Tutorial by Bruce Barnett
PDF
No ratings yet
Sed - An Introduction and Tutorial by Bruce Barnett
37 pages
Amanda Howto
PDF
No ratings yet
Amanda Howto
357 pages
Ubuntu Linux, Ubuntu Desktop, Linux Operating System, Ubuntu Guide
PDF
No ratings yet
Ubuntu Linux, Ubuntu Desktop, Linux Operating System, Ubuntu Guide
5 pages
Linux Commands Quick Reference Card
PDF
100% (1)
Linux Commands Quick Reference Card
2 pages
Unix Lab Manual
PDF
No ratings yet
Unix Lab Manual
67 pages
Linux Com Ds
PDF
No ratings yet
Linux Com Ds
19 pages
UNIX and Linux Commands Summary
PDF
No ratings yet
UNIX and Linux Commands Summary
9 pages
02 Linux - Fundamentals
PDF
No ratings yet
02 Linux - Fundamentals
28 pages
Linux: Please Go Through Your Unix Basics and Refresh Your Unix Commands
PDF
No ratings yet
Linux: Please Go Through Your Unix Basics and Refresh Your Unix Commands
9 pages
The Linux Command Line - Notes
PDF
No ratings yet
The Linux Command Line - Notes
2 pages
Linux Terminal Comands
PDF
100% (1)
Linux Terminal Comands
7 pages
Chap4 - The Shell - File Management
PDF
No ratings yet
Chap4 - The Shell - File Management
24 pages
Common Linux Commands
PDF
No ratings yet
Common Linux Commands
4 pages
Linux Directory Structure
PDF
No ratings yet
Linux Directory Structure
7 pages
E-Content Development Presentation
PDF
No ratings yet
E-Content Development Presentation
26 pages
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 pages
Bharathidasan Univeristy, Tiruchirappalli - 620 024: Centre For Distance Education
PDF
No ratings yet
Bharathidasan Univeristy, Tiruchirappalli - 620 024: Centre For Distance Education
1 page
Chemistry PG
PDF
No ratings yet
Chemistry PG
33 pages
Bharathidasan University: Tiruchirappalli - 620 024
PDF
No ratings yet
Bharathidasan University: Tiruchirappalli - 620 024
1 page
Bharathidasan University, Tiruchirappalli - 620 024 Centre For Distance Education
PDF
No ratings yet
Bharathidasan University, Tiruchirappalli - 620 024 Centre For Distance Education
2 pages
Day 1 Morning Study and Meditation: September 2014
PDF
No ratings yet
Day 1 Morning Study and Meditation: September 2014
10 pages
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
Image Analysis by Bidimensional Empirical Mode Decomposition
PDF
No ratings yet
Image Analysis by Bidimensional Empirical Mode Decomposition
8 pages
Assessment For Learning
PDF
100% (1)
Assessment For Learning
236 pages
Matlab Talk
PDF
No ratings yet
Matlab Talk
43 pages
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 pages
Matlab-Signals and Systems
PDF
No ratings yet
Matlab-Signals and Systems
26 pages
2E1215, Lecture 2 - Matlab Programming
PDF
No ratings yet
2E1215, Lecture 2 - Matlab Programming
24 pages
SQL Server 2008 Date Format
PDF
No ratings yet
SQL Server 2008 Date Format
5 pages
Az 900
PDF
No ratings yet
Az 900
15 pages
Using Categorical Data With One Hot Encoding - Kaggle PDF
PDF
No ratings yet
Using Categorical Data With One Hot Encoding - Kaggle PDF
4 pages
Final Quiz Final Quiz Quiz Instruc Ons Quiz Instruc Ons: Cybersecurity Essentials 1.1. Cybersecurity Essentials 1.1
PDF
No ratings yet
Final Quiz Final Quiz Quiz Instruc Ons Quiz Instruc Ons: Cybersecurity Essentials 1.1. Cybersecurity Essentials 1.1
8 pages
AHB Signals
PDF
No ratings yet
AHB Signals
2 pages
Turbo Codes and Principles and Applications
PDF
No ratings yet
Turbo Codes and Principles and Applications
37 pages
Consolidating HP Serviceguard For Linux and Oracle RAC 10g Clusters
PDF
100% (1)
Consolidating HP Serviceguard For Linux and Oracle RAC 10g Clusters
7 pages
VIM Editor Commands: (Ex. 10G Goes To Line 10)
PDF
No ratings yet
VIM Editor Commands: (Ex. 10G Goes To Line 10)
4 pages
Credit Limit SD
PDF
No ratings yet
Credit Limit SD
16 pages
Operations Manual - Manual de Instrucciones Manuel D' Instructions - Bedienungshandbuch
PDF
No ratings yet
Operations Manual - Manual de Instrucciones Manuel D' Instructions - Bedienungshandbuch
25 pages
SURPASS HiT 7020 Technical Description Iss 01
PDF
0% (1)
SURPASS HiT 7020 Technical Description Iss 01
48 pages
CAM - How To Remove and Replace Midrange Disk Impending Disk Failure 1311776.1
PDF
No ratings yet
CAM - How To Remove and Replace Midrange Disk Impending Disk Failure 1311776.1
3 pages
Radms 3454866047
PDF
No ratings yet
Radms 3454866047
42 pages
Central Processing Unit (Cpu)
PDF
No ratings yet
Central Processing Unit (Cpu)
4 pages
02 Development Courseware
PDF
No ratings yet
02 Development Courseware
450 pages
Multi Query Optimization and Applications
PDF
No ratings yet
Multi Query Optimization and Applications
157 pages
A2PSMSC 21270.v.2.0 Web
PDF
No ratings yet
A2PSMSC 21270.v.2.0 Web
4 pages
TCP Ip Cisco PDF
PDF
100% (1)
TCP Ip Cisco PDF
92 pages
Hitachi HDDs Repair Scheme Based On MRT Pro
PDF
No ratings yet
Hitachi HDDs Repair Scheme Based On MRT Pro
21 pages
Slot06 07 CH04 CacheMemory 50 Slides
PDF
No ratings yet
Slot06 07 CH04 CacheMemory 50 Slides
50 pages
Computer Architecture: Cache Memory
PDF
No ratings yet
Computer Architecture: Cache Memory
28 pages
Computer Full in One
PDF
No ratings yet
Computer Full in One
151 pages
App Dynamics
PDF
No ratings yet
App Dynamics
23 pages
1 MP
PDF
No ratings yet
1 MP
3 pages
Interview Questions 123 PDF
PDF
No ratings yet
Interview Questions 123 PDF
94 pages
Fcinfo Hba Port
PDF
No ratings yet
Fcinfo Hba Port
1 page
Redshift Dg (4)
PDF
No ratings yet
Redshift Dg (4)
733 pages