practice / blog

For personal blogging
1 stars 0 forks source link

command line tips #12

Open practice opened 8 years ago

practice commented 8 years ago

ps 명령어에서 full command line 보기

ps -ef | cat

Create a Large File from the Command Line

mkfile -n size[b|k|m|g] filename
mkfile -n 1g ~/Desktop/LargeTestFile

colorized, scrollable tree of directories, including the readable size of each node

tree -C --du -h . | less -R

find -exec

$ sudo find . -type f -name '*' -exec rm {} \;