A-Z Bash Command Line for Linux.pdf

(819 KB) Pobierz
A-Z Bash Command Line for Linux
about:reader?url=https://techlog360.com/a-z-bash-command-line-linux/?previ...
techlog360.com
A-Z Bash Command Line for Linux
10-12 minutes
Bash Command Line
A
alias
apropos
apt-get
aptitude
aspell
awk
Create an alias
Function
Search Help manual pages (man -k)
Search for and install software packages (Debian/Ubuntu)
Search for and install software packages (Debian/Ubuntu)
Spell Checker
Find and Replace text, database sort/validate/index
B
basename
bash
bc
bg
break
builtin
bzip2
Strip directory and suffix from filenames
GNU Bourne-Again SHell
Arbitrary precision calculator language
Send to background
Exit from a loop
Run a shell builtin
Compress or decompress named file(s)
C
cal
case
cat
cd
cfdisk
chgrp
chmod
chown
chroot
chkconfig
cksum
clear
cmp
comm
command
continue
cp
Display a calendar
Conditionally perform a command
Concatenate and print (display) the content of files
Change Directory
Partition table manipulator for Linux
Change group ownership
Change access permissions
Change file owner and group
Run a command with a different root directory
System services (runlevel)
Print CRC checksum and byte counts
Clear terminal screen
Compare two files
Compare two sorted files line by line
Run a command – ignoring shell functions
Resume the next iteration of a loop
Copy one or more files to another location
1 of 8
5/31/18, 6:22 AM
A-Z Bash Command Line for Linux
about:reader?url=https://techlog360.com/a-z-bash-command-line-linux/?previ...
cron
crontab
csplit
curl
cut
Daemon to execute scheduled commands
Schedule a command to run at a later time
Split a file into context-determined pieces
Transfer data from or to a server
Divide a file into several parts
D
date
dc
dd
ddrescue
declare
df
diff
diff3
dig
dir
dircolors
dirname
dirs
dmesg
du
Display or change the date & time
Desk Calculator
Convert and copy a file, write disk headers, boot records
Data recovery tool
Declare variables and give them attributes
Display free disk space
Display the differences between two files
Show differences among three files
DNS lookup
Briefly list directory contents
Colour setup for `ls’
Convert a full pathname to just a path
Display list of remembered directories
Print kernel & driver messages
Estimate file space usage
E
echo
egrep
eject
enable
env
ethtool
eval
exec
exit
expect
expand
export
expr
Display message on screen
Search file(s) for lines that match an extended expression
Eject removable media
Enable and disable builtin shell commands
Environment variables
Ethernet card settings
Evaluate several commands/arguments
Execute a command
Exit the shell
Automate arbitrary applications accessed over a terminal
Convert tabs to spaces
Set an environment variable
Evaluate expressions
F
false
fdformat
fdisk
fg
Do nothing, unsuccessfully
Low-level format a floppy disk
Partition table manipulator for Linux
Send job to foreground
2 of 8
5/31/18, 6:22 AM
A-Z Bash Command Line for Linux
about:reader?url=https://techlog360.com/a-z-bash-command-line-linux/?previ...
fgrep
file
find
fmt
fold
for
format
free
fsck
ftp
function
fuser
Search file(s) for lines that match a fixed string
Determine file type
Search for files that meet a desired criteria
Reformat paragraph text
Wrap text to fit a specified width
Expand words, and execute commands
Format disks or tapes
Display memory usage
File system consistency check and repair
File Transfer Protocol
Define Function Macros
Identify/kill the process that is accessing a file
G
gawk
getopts
grep
groupadd
groupdel
groupmod
groups
gzip
Find and Replace text within file(s)
Parse positional parameters
Search file(s) for lines that match a given pattern
Add a user security group
Delete a group
Modify a group
Print group names a user is in
Compress or decompress named file(s)
H
hash
head
help
history
hostname
htop
Remember the full pathname of a name argument
Output the first part of file(s)
Display help for a built-in command
Command History
Print or set system name
Interactive process viewer
I
iconv
id
if
ifconfig
ifdown
ifup
import
install
ip
Convert the character set of a file
Print user and group id’s
Conditionally perform a command
Configure a network interface
Stop a network interface
Start a network interface up
Capture an X server screen and save the image to file
Copy files and set attributes
Routing, devices and tunnels
J
jobs
List active jobs
3 of 8
5/31/18, 6:22 AM
A-Z Bash Command Line for Linux
about:reader?url=https://techlog360.com/a-z-bash-command-line-linux/?previ...
join
Join lines on a common field
K
kill
killall
Kill a process by specifying its PID
Kill processes by name
L
less
let
link
ln
local
locate
logname
logout
look
lpc
lpr
lprint
lprintd
lprintq
lprm
ls
lsof
Display output one screen at a time
Perform arithmetic on shell variables
Create a link to a file
Create a symbolic link to a file
Create variables
Find files
Print current login name
Exit a login shell
Display lines beginning with a given string
Line printer control program
Off line print
Print a file
Abort a print job
List the print queue
Remove jobs from the print queue
List information about file(s)
List open files
M
make
man
mkdir
mkfifo
mkisofs
mknod
more
most
mount
mtools
mtr
mv
mmv
Recompile a group of programs
Help manual
Create new folder(s)
Make FIFOs (named pipes)
Create an hybrid ISO9660/JOLIET/HFS filesystem
Make block or character special files
Display output one screen at a time
Browse or page through a text file
Mount a file system
Manipulate MS-DOS files
Network diagnostics (traceroute/ping)
Move or rename files or directories
Mass Move and rename (files)
N
nc
netstat
nice
Netcat, read and write data across networks
Networking information
Set the priority of a command or job
4 of 8
5/31/18, 6:22 AM
A-Z Bash Command Line for Linux
about:reader?url=https://techlog360.com/a-z-bash-command-line-linux/?previ...
nl
nohup
notify-send
nslookup
Number lines and write files
Run a command immune to hangups
Send desktop notifications
Query Internet name servers interactively
O
open
op
Open a file in its default application
Operator access
P
passwd
paste
pathchk
ping
pkill
popd
pr
printcap
printenv
printf
ps
pushd
pv
pwd
Modify a user password
Merge lines of files
Check file name portability
Test a network connection
Kill processes by a full or partial name
Restore the previous value of the current directory
Prepare files for printing
Printer capability database
Print environment variables
Format and print data
Process status
Save and then change the current director
Monitor the progress of data through a pipe
Print Working Directory
Q
quota
quotacheck
Display disk usage and limits
Scan a file system for disk usag
R
ram
rar
rcp
read
readarray
readonly
reboot
rename
renice
return
rev
rm
rmdir
rsync
ram disk device
Archive files with compression
Copy files between two machines
Read a line from standard input
Read from stdin into an array variable
Mark variables/functions as readonly
Reboot the system
Rename files
Alter priority of running processes
Exit a shell function
Reverse lines of a file
Remove files
Remove folder(s)
Remote file copy (Synchronize file trees)
5 of 8
5/31/18, 6:22 AM
Zgłoś jeśli naruszono regulamin