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
1 page
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
1 page
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
Download
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”
[email protected]
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
SQLMAP
PDF
No ratings yet
SQLMAP
23 pages
Chapter Exercise Questions
PDF
No ratings yet
Chapter Exercise Questions
25 pages
Headers
PDF
100% (1)
Headers
6 pages
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Linux
PDF
No ratings yet
Linux
1 page
PowerShell Training Primer
PDF
100% (1)
PowerShell Training Primer
29 pages
An A-Z Index of The Bash Command Line For Linux - SS64
PDF
No ratings yet
An A-Z Index of The Bash Command Line For Linux - SS64
5 pages
Adhish Singh Kunwar A2
PDF
No ratings yet
Adhish Singh Kunwar A2
37 pages
Linux Directory Structure Explained
PDF
No ratings yet
Linux Directory Structure Explained
3 pages
LINUX Lab Experiments-Edited Version
PDF
100% (1)
LINUX Lab Experiments-Edited Version
85 pages
VMware Management With PowerCLI 5.0
PDF
No ratings yet
VMware Management With PowerCLI 5.0
1 page
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
Ansible Tutorial
PDF
No ratings yet
Ansible Tutorial
3 pages
Linux Commands
PDF
No ratings yet
Linux Commands
25 pages
Python Package Management 08
PDF
No ratings yet
Python Package Management 08
57 pages
Linux Lab Practical
PDF
100% (1)
Linux Lab Practical
20 pages
Important Commands For Linux Admin PDF
PDF
100% (1)
Important Commands For Linux Admin PDF
19 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
Booting&Modules 8
PDF
100% (1)
Booting&Modules 8
5 pages
Linux Ubuntu Exercises
PDF
No ratings yet
Linux Ubuntu Exercises
9 pages
Common Kali Linux Commands Overview: June 2015
PDF
No ratings yet
Common Kali Linux Commands Overview: June 2015
20 pages
CMake Basic Guide (As Included)
PDF
No ratings yet
CMake Basic Guide (As Included)
336 pages
Git - The Simple Guide - No Deep Shit
PDF
No ratings yet
Git - The Simple Guide - No Deep Shit
9 pages
Linux Command List v1.1: Terms of Use
PDF
100% (4)
Linux Command List v1.1: Terms of Use
15 pages
Android 1
PDF
No ratings yet
Android 1
20 pages
FileSystemHierarchy Linux
PDF
No ratings yet
FileSystemHierarchy Linux
3 pages
Day 1
PDF
No ratings yet
Day 1
2 pages
Linux Interview Questions On Boot Process and Other Stuff
PDF
100% (1)
Linux Interview Questions On Boot Process and Other Stuff
14 pages
Learn UNIX in 10 Minutes Org
PDF
No ratings yet
Learn UNIX in 10 Minutes Org
10 pages
Linux Interview Question
PDF
No ratings yet
Linux Interview Question
45 pages
Linux Manual
PDF
No ratings yet
Linux Manual
20 pages
Basic Linux Commands
PDF
100% (1)
Basic Linux Commands
47 pages
Linux Exam 1
PDF
No ratings yet
Linux Exam 1
8 pages
Awk
PDF
No ratings yet
Awk
70 pages
How To Write A Bash Script To Run Commands - Linux Tutorials - Learn Linux Configuration
PDF
No ratings yet
How To Write A Bash Script To Run Commands - Linux Tutorials - Learn Linux Configuration
10 pages
Byte Magazine Vol 00-01 The Worlds Greatest Toy
PDF
No ratings yet
Byte Magazine Vol 00-01 The Worlds Greatest Toy
100 pages
Bash Shell Cheat Sheet
PDF
100% (1)
Bash Shell Cheat Sheet
3 pages
Powershell Cheat Sheet: Powershell For Pen-Tester Post-Exploitation Useful Cmdlets (And Aliases)
PDF
No ratings yet
Powershell Cheat Sheet: Powershell For Pen-Tester Post-Exploitation Useful Cmdlets (And Aliases)
2 pages
Characters: Character Legend Example Sample Match
PDF
No ratings yet
Characters: Character Legend Example Sample Match
5 pages
Partitioning and Formatting A Disk Drive in Linux
PDF
No ratings yet
Partitioning and Formatting A Disk Drive in Linux
13 pages
Building Powerful Workflow Automation With Cherwell and PowerShell 2016
PDF
No ratings yet
Building Powerful Workflow Automation With Cherwell and PowerShell 2016
33 pages
Linux Commands Quick Reference Card
PDF
100% (1)
Linux Commands Quick Reference Card
2 pages
Fish Shell Cheatsheet
PDF
No ratings yet
Fish Shell Cheatsheet
7 pages
Basic Red Hat Linux
PDF
No ratings yet
Basic Red Hat Linux
5 pages
Linux Directory Structure
PDF
No ratings yet
Linux Directory Structure
2 pages
Windows Subsystem For Linux - Wikipedia
PDF
No ratings yet
Windows Subsystem For Linux - Wikipedia
2 pages
Bash Cheatsheet
PDF
100% (2)
Bash Cheatsheet
4 pages
Linux Training Istitute
PDF
No ratings yet
Linux Training Istitute
8 pages
Unix Perl Tutorial
PDF
100% (1)
Unix Perl Tutorial
135 pages
Advanced Unix Commands
PDF
No ratings yet
Advanced Unix Commands
98 pages
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
Redmine Cookbook: Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration
From Everand
Redmine Cookbook: Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration
Pavić Aleksandar
No ratings yet
Implementing Samba 4
From Everand
Implementing Samba 4
Marcelo Leal
No ratings yet
JavaScript Computer Programming
From Everand
JavaScript Computer Programming
Charlie Masterson
No ratings yet
SQL Server 2012 with PowerShell V3 Cookbook
From Everand
SQL Server 2012 with PowerShell V3 Cookbook
Donabel Santos
No ratings yet
Business Process Management Suites BPMSs Complete Self-Assessment Guide
From Everand
Business Process Management Suites BPMSs Complete Self-Assessment Guide
Gerardus Blokdyk
No ratings yet
Inductive Automation Standard Requirements
From Everand
Inductive Automation Standard Requirements
Gerardus Blokdyk
No ratings yet
Creating Development Environments with Vagrant - Second Edition
From Everand
Creating Development Environments with Vagrant - Second Edition
Michael Peacock
No ratings yet
Bootstrap Site Blueprints
From Everand
Bootstrap Site Blueprints
Ian Whitley
No ratings yet
Unix Lab Manual
PDF
No ratings yet
Unix Lab Manual
67 pages
E-Content Development Presentation
PDF
No ratings yet
E-Content Development Presentation
26 pages
Chemistry PG
PDF
No ratings yet
Chemistry PG
33 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
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 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
Assessment For Learning
PDF
100% (1)
Assessment For Learning
236 pages
Day 1 Morning Study and Meditation: September 2014
PDF
No ratings yet
Day 1 Morning Study and Meditation: September 2014
10 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 pages
Matlab Talk
PDF
No ratings yet
Matlab Talk
43 pages
Matlab-Signals and Systems
PDF
No ratings yet
Matlab-Signals and Systems
26 pages
Image Analysis by Bidimensional Empirical Mode Decomposition
PDF
No ratings yet
Image Analysis by Bidimensional Empirical Mode Decomposition
8 pages
2E1215, Lecture 2 - Matlab Programming
PDF
No ratings yet
2E1215, Lecture 2 - Matlab Programming
24 pages
BCX51-16 BCX53-10 BCX53-16
PDF
No ratings yet
BCX51-16 BCX53-10 BCX53-16
7 pages
Om Ashish Soni Resume
PDF
No ratings yet
Om Ashish Soni Resume
1 page
DT Notes
PDF
No ratings yet
DT Notes
2 pages
ASA - Lab 3-Cau Hinh Active-standby
PDF
No ratings yet
ASA - Lab 3-Cau Hinh Active-standby
3 pages
10.suspension System2
PDF
100% (1)
10.suspension System2
19 pages
Electronic Syatem Design PPT - Design For Testability
PDF
0% (1)
Electronic Syatem Design PPT - Design For Testability
9 pages
How To Install M1 Fleet Enterprise 2012
PDF
No ratings yet
How To Install M1 Fleet Enterprise 2012
25 pages
List of Intel Core processors - Wikipedia
PDF
No ratings yet
List of Intel Core processors - Wikipedia
101 pages
An Overview and Study of Security Issues & Challenges in Cloud Computing
PDF
No ratings yet
An Overview and Study of Security Issues & Challenges in Cloud Computing
6 pages
Practical Electronics for Inventors, Fourth Edition Paul Scherz - Get instant access to the full ebook with detailed content
PDF
100% (1)
Practical Electronics for Inventors, Fourth Edition Paul Scherz - Get instant access to the full ebook with detailed content
50 pages
H Parameters Problems
PDF
No ratings yet
H Parameters Problems
12 pages
Manual VP 3500HD 140
PDF
No ratings yet
Manual VP 3500HD 140
140 pages
Reconfigurable Computing CS G553
PDF
No ratings yet
Reconfigurable Computing CS G553
17 pages
BJTS
PDF
No ratings yet
BJTS
270 pages
Computer Application Packages
PDF
No ratings yet
Computer Application Packages
5 pages
IT3101 - Object-Oriented Systems Development: University of Colombo, Sri Lanka
PDF
No ratings yet
IT3101 - Object-Oriented Systems Development: University of Colombo, Sri Lanka
12 pages
By: Nitesh Srivastava 28445
PDF
No ratings yet
By: Nitesh Srivastava 28445
17 pages
CS3271 Programming in C Lab Manual
PDF
No ratings yet
CS3271 Programming in C Lab Manual
33 pages
Tms Unit 4
PDF
No ratings yet
Tms Unit 4
23 pages
Data Sheet
PDF
No ratings yet
Data Sheet
44 pages
Heroku PDF
PDF
No ratings yet
Heroku PDF
3 pages
Intel 8086
PDF
No ratings yet
Intel 8086
4 pages
NetWorker Module For Microsoft Applications 2.3 Application Guide
PDF
No ratings yet
NetWorker Module For Microsoft Applications 2.3 Application Guide
278 pages
Scell-Ef User Manual
PDF
No ratings yet
Scell-Ef User Manual
80 pages
Fyit MP Practical Mannual Final
PDF
No ratings yet
Fyit MP Practical Mannual Final
33 pages
AS 88013 PLC OM 600L93 GB WW 1027-1 Keyence
PDF
No ratings yet
AS 88013 PLC OM 600L93 GB WW 1027-1 Keyence
6 pages
18 F 1320
PDF
No ratings yet
18 F 1320
308 pages
Epson TMU220 Brochure
PDF
No ratings yet
Epson TMU220 Brochure
2 pages
ATIS - VOLMET - Product Sheet
PDF
No ratings yet
ATIS - VOLMET - Product Sheet
5 pages