Old boy linux high-end operation and maintenance course - the second level of linux commands and basic hands-on combat

 for n in `seq 512` ;do echo 1 >>a.log;done: write a 1K file, as shown below:


for n in `seq 100000` ;do /bin/cp a.log $n;done: a large for loop. (No space left on device)

ls | wc -l :


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324732857&siteId=291194637