[-t fs-type] [-T usage-type ] [-U UUID] [-e errors_behavior][-z undo_file] [-jnqvDFSV] device [blocks-count] # 预显示格式化信息, 但是不执行格式化 $ sudo mkfs.ext4 -n /dev/sdc1 mke2fs 1.44.1 (24-Mar-2018) Creating filesystem with 244190390 4k blocks and 61054976 inodes Fil...
这篇笔记主要记录一下我在学习生活/开发过程中使用比较频繁Linux/Windows shell commands,一方面是加深自己的印象,另一方面也方便自己的使用,每次都需要去搜索需要使用的command比较耗时,写一个个性化一些的笔记能够更有侧重点,查阅起来也更方便一些。 优先会记录一些我常使用的commands,不限于shell内部命令,还会包括一些she...
Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory bydefault). Sort entries alphabeticallyifnone of -cftuvSUX nor --sortisspecified. Mandatory arguments tolongoptions are mandatoryforshortoptions too.-a, --alldonot ignore entries starting with .-A, --...
alias - Create custom shortcuts for your regularly used commands dd - Majorly used for creating bootable USB sticks whereis - Locate the binary, source, and manual pages for a command whatis - Find what a command is used for top - View active processes live with their system usage useradd...
tmux list-commands 3.3.6 输出信息 echo echo 命令可以将后面跟的字符进行输出,也能输出变量的值(echo $变量) 输出字符串的命令: echo [-neE] [字符串] 选项: -E (默认)不支持 \ 解释功能 -n 不自动换行 -e 启用 \ 字符的解释功能 启用命令选项-e,若字符串中出现以下字符,则特别加以处理, ...
4. useradd and userdel commands The useradd command is used with the passwd command (see below) to set up a new user account and modify its password. Here’s how it looks:useradd [option] usernamepasswd usernameHowever, useradd and passwd both need sudo privileges, so bear that in mind...
The du command is helpful for analyzing disk usage for a directory tree and identifying files consuming excessive space.Search And Filter Commands In LinuxNow, let’s explore commands that allow you to search, filter, and manipulate text right from the Linux command line....
This command would list all files and directory usage info in a human-readable format while excluding any file with the extension. This is a bit niche, however, it does have a place in the world. Wrap up and man page Hopefully, you now have a better understanding how useful theduutility...
LS(1) User Commands LS(1) NAME ls - list directory contents SYNOPSIS ls [OPTION]... [FILE]... DESCRIPTION List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort. ...
It has filter for e-mail, sgml, and TeX. aspell (2) - More options. at - Schedules commands to be executed at a later time. atd - Runs jobs that are queued by at. atq - Shows any queued at jobs for the current user or for a specified user. atrm - Removes jobs from the at...