linux sheet脚本去掉m,Util-Linux Cheat Sheet

卫子平
2023-12-01

addpart Informs the Linux kernel of new partition ||lslocks List local system locks

agetty Alternative Linux getty; handles tty,login, shell || mcookie Generate magic cookies forxauth

arch print machine architecture|| mesg Configure ifmessages from other users should be displayed

blkid Locate/print block device attributes || mkfs Build a Linux filesystem

blockdev Call block device ioctls from the command line||mkfs.bfs Make an SCO bfs filesystem

cal Displays a calendar||mkfs.cramfs Make a cramfs filesystem

cfdisk Curses based disk partition table manipulator||mkfs.minix Make a Minix filesystem

chcpu Configure CPUs||mkswap Set up a Linux swap area

chfn Change your finger information|| more Filter for paging through text one screenful at a timechkdupexe Find duplicate executables|| mount Mount a filesystem

chrt Manipulate real-time attributes of a process || mountpoint See ifa directory is a mountpoint

chsh Changelogin shell || namei Follow a pathname untila terminal point is found

col Filter reverse line feeds from input||newgrp Change the current group ID

colcrt Filter nroff outputfor CRT previewing ||partx Tell the kernel about presence and numbering of disk partitions

colrm Remove columns from afile ||pg Browse pagewise through text files

column Convert lists intonice columns || pivot_root Change the root filesystem

ctrlaltdel Change the behavior of ctrl+alt+del ||prlimit Get and set a process resource limits

cytune Tune driver parametersfor Cyclades-Z multiport serial card ||raw Bind a Linux raw character device

ddate Convert Gregorian dates to Discordian dates||readprofile A tool to read kernel profiling information

delpart Ask the Linux kernel to remove a partition||rename Rename files

dmesg Examine or control the kernel ring buffer|| reniceAlter priority of running processeseject Eject removable media ||resizepart Informs the Linux kernel of a new partition size

elvtune Tune the I/O elevator per blockdevice queue basis || rev Reverse lines of a fileor files

fallocate Preallocate space to afile || rtcwake Enter a system sleep state until specified wakeup timefdformat Low-level format a floppy disk ||script Make typescript of terminal session

fdisk Partition table manipulatorfor Linux ||scriptreplay Play back typescripts, using timing information

findfs Find a filesystem by label or UUID|| setarch Change computer arch innew program and set personality flags

findmnt List all mounted filesytems or searchfor a filesystem || setsid Run a program ina new session

flock Managesfile locks from the command line or scripts ||setterm Set terminal attributes

fsck Check and repair one ormore Linux file systems || sfdisk Another partition table manipulator forLinux

fsck.cramfs Check and repair a cramfsfile system || su Change user ID or become super-user

fsck.minix Check and repair a Minixfile system || sulogin Single-user login(used by init)

fsfreeze Suspend and resume access to a filesystem||swaplabel Print or change the label or UUID of a swap area

fstrim Discard unused blocks on a mounted filesystem|| swapon Enable devices and files forpaging and swappinggetopt Parse command options || swapoff Disable devices and files forpaging and swapping

hexdump Ascii,decimal, hexadecimal, octal dump || switch_root Switch to another filesystem as the root of the mounttree

hwclock Query and set the hardware clock (RTC)|| tailf Follow the growth of a log file without side-effects

ionice Get/set program I/O scheduling class and priority || taskset Retrieve or set a process's CPU affinity

ipcmk Create various ipc resources || tunelp Set various parameters for the lp device (/dev/lpX)

ipcrm Remove a message queue, semaphore, shared mem||ul Convert occurrences of underscores to terminal underlines

ipcs Provide information on ipc facilities|| umount Unmount filesystems

isosize Outputs the length of a iso9660file system ||unshare Run program with some namespaces unshared from parentkill Send a signal to the specified process/group || utmpdump Dump UTMP and WTMP files inraw formatlast Show listing of last logged in users ||uuidd UUID generation daemon

ldattach Attach a line discipline to a serial line||uuidgen Create (and print) a new universally unique identifier (UUID)

line Read one line from the stdin and print it to stdout|| vigr Edit the group or shadow-group filelogger Makes entriesin the syslog system log || vipw Edit the password or shadow-password file

login Begin session on the system || wallWrite a message to users

look Display lines beginning with a givenstring ||wdctl Show hardware watchdog status

losetup Set up and control loop devices|| whereis Locate the binary, source, and manual page files fora command

lsblk Prints all block devices||wipefs Wipe a filesystem signature from a device

lscpu Display information about the CPU architecture|| write Send a message to another user

 类似资料: