命令(输入m 获取帮助):m # m是获取帮助 命令操作 a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition g create a new empty GPT partition table G create an IRIX (SGI) partition table l list known partition types m print this menu n add...
As you can see, file sizes are now displayed in K (for KB), M for (MB). If the file size is in Bytes, it is not displayed with any suffix. In the above example, char.sh is 140 Bytes in size. Did you notice the size of new_dir directory? It is 4 KB. If you use ls -...
那么比较常见的就是当磁盘分区快满了,你需要删除一些没用的文件夹的时候,在win下面你可以直接右击文件夹便可以看到该文件夹所占用磁盘的大小,如果要查看多个文件夹所占磁盘大小一般都得每个选中右击查看,不然就得用专门的软件查看。 而在linux下你可能会想到最常用的ls命令,其中ls -l能够显示比较详细的文件信息: 上...
1root@DESKTOP-KV8R5US:~# type help 2help is a shell builtin 3root@DESKTOP-KV8R5US:~# type ls 4ls is aliased to `ls --color=auto' 5root@DESKTOP-KV8R5US:~# type pwd 6pwd is a shell builtin 执行过的命令都通过hash存在内存中,我们可以通过hash命令查看缓存的路径。 1hash 02 协助命令 ...
du [-abcDhHklmsSx] [-L <符号连接>][-X <文件>][--block-size][--exclude=<目录或文件>] [--max-depth=<目录层数>][--help][--version][目录或文件] 常用参数: -a或-all 为每个指定文件显示磁盘使用情况,或者为目录中每个文件显示各自磁盘使用情况。 -b或-bytes 显示目录或文件大小时,以byte为...
a toggle a bootable flagb edit bsd disklabelc toggle the dos compatibility flagd delete a partitionl list known partition typesm print this menun add a new partitiono create a new empty DOS partition tablep print the partition tableq quit without saving changess create a new empty Sun disk...
Command (?forhelp): ?b back up GPT data to a file c change a partition's named delete a partition # 删除一个分区 i show detailed information on a partition l list known partition types n add anewpartition # 增加一个分区 o create anewempty GUID partition table (GPT) ...
=SIZE use SIZE-byte blocks-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)-H, --si likewise, but use powers of 1000 not 1024-i, --inodes list inode information instead of block usage-k like --block-size=1K-l, --local limit listing to local file ...
Device Start End Sectors Size Type /dev/vda1 2048 4095 2048 1M BIOS boot /dev/vda2 4096 413695 409600 200M EFI System /dev/vda3 413696 83886046 83472351 39.8G Linux filesystem mount 命令介绍 mount命令用于挂载一个文件系统。 常用参数说明 ...
# /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/...