Learn about command to check file size in unix, we have the largest and most updated command to check file size in unix information on alibabacloud.com
Linux DD command parameters and usage details---Copy a file with a block of the specified sizeDate: 2010-06-14 click: 3830 Source: Unknown share to: The Linux dd command uses a detailedMain options for DD:Specify the number of digits at the end of the following character multiplied by the corresponding number:b=512, C=1, k=1024, w=2, Xm=number mif=FileEnter a
permissions can be a match, or a relationship, + from the Centos7 start elimination, CENTOS6 and its previous system/+ are available.
-mode: Each type of object must have the specified permission at the same time, and relationship
0 is not concerned about
Find-perm 755 will match the permissions mode is exactly 755 of the file
as long as any person has write permission, Find-perm + 222 will match when the permission is described as a co
SAR is an important performance detection command under Solaris, and familiarity with this command can detect system performance in a timely manner, and is helpful for system management.
Use the SAR command to perform the following tasks:
Organize and view data about system activity.
Access system activity data based on special requests.
Generate automatic report
Original URL: http://blog.csdn.net/wangjunjun2008/article/details/19840671Du (disk usage), as the name implies, view the size of the directory/file footprint#查看当前目录下的所有目录以及子目录的大小$ du-h$ du-ah#-h: Using the human form of K, M and G to display#-a: Displaying directories and filesDU-H tmpDu-ah tmpSize of #只查看当前目录下的tmp目录 (including subdirectories)#查看当前目录及其指定深度目录的大小Du-h–-max-depth=0#-–max-depth=n: Drill down to
Introduced:The du command displays the space information that the specified file (clip) occupies on the disk. If the specified file parameter is actually a directory, all the files in that directory will be evaluated. If no file parameters are provided, execute the du command
to Test2.1.5 Moving files#mv/tmp/test1/home/kuaixiaoqian/test2---Move the test1 file under the/tmp folder to the/kuaixiaoqian folder and rename it to Test22.time commandfunction: used to calculate the execution time of a command.format:time shell commandreturn form: after the execution result of the command under the shell, add the following statement:2.1 Examples of Use:(1) Easy to use#time echo "Hello"re
when using Ubuntu at work or in daily use, it is often time to look at the current system capacity, which requires us to use the command to query the size of the current directory or file (DU) syntax format [plain] du [-ahskm] file or directory nameParameter explanation-A: Lists all files and directory capacity, becaus
In Linux, the simplest way to create a specific size file using the dd command is to use the dd command. Dd if = "inputFileName" of = "outFileName" bs = "block size" count = "Block quantity" the block size can be measured in bytes
Instruction: DFCheck the disk space usage of the file systemYou can view the total capacity, usage space, remaining space, mount location, and so on for all mounted disksSyntax:# DF [OPTION] [FILE]File is an optional list of one or more path names, such as selecting this option to display disk usage for the file system
Ubuntu view file and folder size command notes $ du-h -- max-depth114M. /partial233M. if there are many files and folders in the current directory, you can use the command without parameters to list the space used by all files and folders in the current directory cyclically. When there are too many files...
Ubuntu
Invokes the device's IOCTL function at the command line. In a Linux system, it seems that the direct operation of the device is only IOCTL function. The parameters he accepts are not too much, and they all correspond to one by one.
Blockdev-Call block Device control program from the command line
Blockdev [Options] Commands devices
The Blockdev tool allows the block device control program to be invoked fr
Invokes the device's IOCTL function at the command line. In a Linux system, it seems that the direct operation of the device is only IOCTL function. The parameters he accepts are not too much, and they all correspond to one by one.
Blockdev-Call block Device control program from the command line
Blockdev [Options] Commands devices
The Blockdev tool allows the block device control program to be invoked fr
The old boy education of the day-2017-04-21: Command Storm--Check the file system type of your Linux system? Ext2, Ext3, Ext4, XFS ...?today is the day that the old boy educates the day to accompany everyone . For questions and answers, please leave a comment in the blog comments section.Index of the topic of the previous periodhttp://lidao.blog.51cto.com/3388056
(i) View file system space usage: DF
syntax Format
DF [-h] File/directory name/omit displays the file or directory where the file system disk space usage
parameter explanation:-
H Display with a more readable capacity format rendering (g/m/k), automatic selection of displayed unit
How to view file sizes--linuxof theLCommandwith Linux so long, the individual in the view of permissions, file size, etc., has been using the ls-l command to see, today accidentally found the original L command ,l Command persona
1. Ls-lsh2. Du-sh
Du = = Disk usage (disk usage, disk space occupied)The amount of disk space a file occupies and the size of a file is a different situation. The footprint depends on the size of the file system block (block), Linux is generally the default is 4k (4096)
1. PWD: View the current path2, ls: View the file under the current path"Can use-lih combination"-D: see only the current directory information (directory information, LS-DL)-L: Details of all files in the current directory-A: Displays all files (including hidden files), preceded by any file with ".", meaning hidden files (hidden meanings: Indicates that the file
Checking whether a file or folder path exists is a feature that is often used in programming. PowerShell provides a very handy cmdlet for this requirement, which is test-path! Oh, look at a name, you know how professional it is. Take a look at the basic introduction to it first:
Test-path, check to see if the path exists.
Syntax: Test-path Description: The path here can be:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.