Statistics Folder size:
Du-hx--max=1; du-sk; DU-HSC
Reorganize line separators to display:
echo "Abc,dd,bach,dong,jing,shang,china,bejing" | Xargs-d,-n1
echo "Abc,dd,bach,dong,jing,shang,china,bejing" | Xargs-d,-N2
Calculate Program Run time
Time LS
Time PS
/dev/shm/is a very useful directory for Linux because it is not on the hard disk, but in memory. Therefore, under Linux, it is not necessary to build RAMDisk, the direct use of/dev/shm/can achieve a good optimization effect. One of the/dev/shm/needs to be aware of is the capacity issue, which, under Linux, defaults to half the size of memory and can be seen using the df-h command. But it does not really occupy this memory, if there is no file under the/dev/shm/, it occupies the memory is actually 0 bytes, if it is a maximum of 1G, there are 100M files inside, the remaining 900M can still be used for other applications, but it occupies the 100M memory, Will never be re-divided by the system recycling, or who dares to deposit documents inside?
Dev/shm time in Linux