du -h
df -h
top
du -hs * | sort -rh | head -20
du -Sh | sort -rh | head
find ~ -size +1G
find . -size +1G -ls
chmod +x * -R
chmod 777 * -R
sed -i 's/httpd-static/httpd/' *.conf
netstat -aon | findstr :9090(windows)
netstat -antp | grep 443(linux)
find . -name "*.sh" | xargs dos2unix
tar -zcvf archive.tar.gz directory/
du command -h option : display sizes in human readable format (e.g., 1K, 234M, 2G).
du command -s option : show only a total for each argument (summary).
du command -x option : skip directories on different file systems.
sort command -r option : reverse the result of comparisons.
sort command -h option : compare human readable numbers. This is GNU sort specific option only.
head command -10 OR -n 10 option : show the first 10 lines.
MYSQL
----------------
df -h
top
du -hs * | sort -rh | head -20
du -Sh | sort -rh | head
find ~ -size +1G
find . -size +1G -ls
chmod +x * -R
chmod 777 * -R
sed -i 's/httpd-static/httpd/' *.conf
netstat -aon | findstr :9090(windows)
netstat -antp | grep 443(linux)
find . -name "*.sh" | xargs dos2unix
tar -zcvf archive.tar.gz directory/
du command -h option : display sizes in human readable format (e.g., 1K, 234M, 2G).
du command -s option : show only a total for each argument (summary).
du command -x option : skip directories on different file systems.
sort command -r option : reverse the result of comparisons.
sort command -h option : compare human readable numbers. This is GNU sort specific option only.
head command -10 OR -n 10 option : show the first 10 lines.
MYSQL
----------------
mysql -u<username> -p<password> <DB> -h<hostname> < <sqlfilename>
Add this to the file <home_directory>/.vimrc
|
No comments:
Post a Comment