Tự học Linux bằng 105 lệnh Linux trong coreutils

Chè bà ba – Hình minh họa

Dự án phần mềm mã nguồn mở, miễn phí GNU coreutils cung cấp rất nhiều lệnh cho người dùng thao tác với hệ điều hành Linux bằng chế độ dòng lệnh (cli mode) hoặc viết bash script tự động.

Tự học Linux bằng 105 lệnh Linux có trong coreutils có cần thiết không? Cái này tùy thuộc vào bạn.

Hoặc bạn nên tham gia khóa học lập trình Bash shell chuyên sâu của chúng tôi để có lời khuyên từ những người đã làm việc với Linux 14+ năm.

Lệnh Linux là 1 bầu trời thương nhớ, không có đối thủ xứng tầm nếu so sánh với các lệnh quản lí router, switch của Cisco, Juniper…

/usr/bin/[              /usr/bin/dircolors      /usr/bin/md5sum         /usr/bin/realpath       /usr/bin/tail
/usr/bin/arch           /usr/bin/dirname        /usr/bin/mkdir          /usr/bin/rm             /usr/bin/tee
/usr/bin/b2sum          /usr/bin/du             /usr/bin/mkfifo         /usr/bin/rmdir          /usr/bin/test
/usr/bin/base32         /usr/bin/echo           /usr/bin/mknod          /usr/bin/runcon         /usr/bin/timeout
/usr/bin/base64         /usr/bin/env            /usr/bin/mktemp         /usr/bin/seq            /usr/bin/touch
/usr/bin/basename       /usr/bin/expand         /usr/bin/mv             /usr/bin/sha1sum        /usr/bin/tr
/usr/bin/basenc         /usr/bin/expr           /usr/bin/nice           /usr/bin/sha224sum      /usr/bin/true
/usr/bin/cat            /usr/bin/factor         /usr/bin/nl             /usr/bin/sha256sum      /usr/bin/truncate
/usr/bin/chcon          /usr/bin/false          /usr/bin/nohup          /usr/bin/sha384sum      /usr/bin/tsort
/usr/bin/chgrp          /usr/bin/fmt            /usr/bin/nproc          /usr/bin/sha512sum      /usr/bin/tty
/usr/bin/chmod          /usr/bin/fold           /usr/bin/numfmt         /usr/bin/shred          /usr/bin/uname
/usr/bin/chown          /usr/bin/groups         /usr/bin/od             /usr/bin/shuf           /usr/bin/unexpand
/usr/bin/cksum          /usr/bin/head           /usr/bin/paste          /usr/bin/sleep          /usr/bin/uniq
/usr/bin/comm           /usr/bin/hostid         /usr/bin/pathchk        /usr/bin/sort           /usr/bin/unlink
/usr/bin/cp             /usr/bin/id             /usr/bin/pinky          /usr/bin/split          /usr/bin/users
/usr/bin/csplit         /usr/bin/install        /usr/bin/pr             /usr/bin/stat           /usr/bin/vdir
/usr/bin/cut            /usr/bin/join           /usr/bin/printenv       /usr/bin/stdbuf         /usr/bin/wc
/usr/bin/date           /usr/bin/link           /usr/bin/printf         /usr/bin/stty           /usr/bin/who
/usr/bin/dd             /usr/bin/ln             /usr/bin/ptx            /usr/bin/sum            /usr/bin/whoami
/usr/bin/df             /usr/bin/logname        /usr/bin/pwd            /usr/bin/sync           /usr/bin/yes
/usr/bin/dir            /usr/bin/ls             /usr/bin/readlink       /usr/bin/tac            /usr/sbin/chroot

105

[ (1)                - bash built-in commands, see bash(1)
arch (1)             - print machine hardware name (same as uname -m)
b2sum (1)            - compute and check BLAKE2 message digest
base32 (1)           - base32 encode/decode data and print to standard output
base64 (1)           - base64 encode/decode data and print to standard output
basename (1)         - strip directory and suffix from filenames
basenc (1)           - Encode/decode data and print to standard output
cat (1)              - concatenate files and print on the standard output
chcon (1)            - change file SELinux security context
chgrp (1)            - change group ownership
chmod (1)            - change file mode bits
chown (1)            - change file owner and group
cksum (1)            - checksum and count the bytes in a file
comm (1)             - compare two sorted files line by line
cp (1)               - copy files and directories
csplit (1)           - split a file into sections determined by context lines
cut (1)              - remove sections from each line of files
date (1)             - print or set the system date and time
dd (1)               - convert and copy a file
df (1)               - report file system disk space usage
dir (1)              - list directory contents
dircolors (1)        - color setup for ls
dirname (1)          - strip last component from file name
du (1)               - estimate file space usage
echo (1)             - display a line of text
env (1)              - run a program in a modified environment
expand (1)           - convert tabs to spaces
expr (1)             - evaluate expressions
factor (1)           - factor numbers
false (1)            - do nothing, unsuccessfully
fmt (1)              - simple optimal text formatter
fold (1)             - wrap each input line to fit in specified width
groups (1)           - print the groups a user is in
head (1)             - output the first part of files
hostid (1)           - print the numeric identifier for the current host
id (1)               - print real and effective user and group IDs
install (1)          - copy files and set attributes
join (1)             - join lines of two files on a common field
link (1)             - call the link function to create a link to a file
ln (1)               - make links between files
logname (1)          - print user's login name
ls (1)               - list directory contents
md5sum (1)           - compute and check MD5 message digest
mkdir (1)            - make directories
mkfifo (1)           - make FIFOs (named pipes)
mknod (1)            - make block or character special files
mktemp (1)           - create a temporary file or directory
mv (1)               - move (rename) files
nice (1)             - run a program with modified scheduling priority
nl (1)               - number lines of files
nohup (1)            - run a command immune to hangups, with output to a non-tty
nproc (1)            - print the number of processing units available
numfmt (1)           - Convert numbers from/to human-readable strings
od (1)               - dump files in octal and other formats
paste (1)            - merge lines of files
pathchk (1)          - check whether file names are valid or portable
pinky (1)            - lightweight finger
pr (1)               - convert text files for printing
printenv (1)         - print all or part of environment
printf (1)           - format and print data
ptx (1)              - produce a permuted index of file contents
pwd (1)              - print name of current/working directory
readlink (1)         - print resolved symbolic links or canonical file names
realpath (1)         - print the resolved path
rm (1)               - remove files or directories
rmdir (1)            - remove empty directories
runcon (1)           - run command with specified SELinux security context
seq (1)              - print a sequence of numbers
sha1sum (1)          - compute and check SHA1 message digest
sha224sum (1)        - compute and check SHA224 message digest
sha256sum (1)        - compute and check SHA256 message digest
sha384sum (1)        - compute and check SHA384 message digest
sha512sum (1)        - compute and check SHA512 message digest
shred (1)            - overwrite a file to hide its contents, and optionally delete it
shuf (1)             - generate random permutations
sleep (1)            - delay for a specified amount of time
sort (1)             - sort lines of text files
split (1)            - split a file into pieces
stat (1)             - display file or file system status
stdbuf (1)           - Run COMMAND, with modified buffering operations for its standard streams.
stty (1)             - change and print terminal line settings
sum (1)              - checksum and count the blocks in a file
sync (1)             - Synchronize cached writes to persistent storage
tac (1)              - concatenate and print files in reverse
tail (1)             - output the last part of files
tee (1)              - read from standard input and write to standard output and files
test (1)             - check file types and compare values
timeout (1)          - run a command with a time limit
touch (1)            - change file timestamps
tr (1)               - translate or delete characters
true (1)             - do nothing, successfully
truncate (1)         - shrink or extend the size of a file to the specified size
tsort (1)            - perform topological sort
tty (1)              - print the file name of the terminal connected to standard input
uname (1)            - print system information
unexpand (1)         - convert spaces to tabs
uniq (1)             - report or omit repeated lines
unlink (1)           - call the unlink function to remove the specified file
users (1)            - print the user names of users currently logged in to the current host
vdir (1)             - list directory contents
wc (1)               - print newline, word, and byte counts for each file
who (1)              - show who is logged on
whoami (1)           - print effective userid
yes (1)              - output a string repeatedly until killed
chroot (1)           - run command or interactive shell with special root directory