Change to root when login as any user with root privileged
sudo -i
List all hidden files and directory
ls -a
ls -lh
du -sh *
Delete huge file count inside folder
find <dir_path> -type f -delete
or inside current directory
find . -type f -delete
df -h
- will show each first level directory
or
df / -h
- will show total
du -hs /path/to/directory
mv (option) filename1.ext filename2.ext
cp <origin_path_to_file_or_directory> <destination_path_to_file_or_directory>
> filename
removes files beginning with sequence_1
and ending with .hmf
.
rm sequence_1*.hmf
whereis <command>
or
which <command>
file --mime-type -b <filename>
https://pypi.python.org/pypi/Glances
- https://askubuntu.com/questions/5444/how-to-find-out-how-much-disk-space-is-remaining
- https://askubuntu.com/questions/1224/how-do-i-determine-the-total-size-of-a-directory-folder-from-the-command-line
- https://unix.stackexchange.com/questions/37350/how-do-i-remove-multiple-files-with-a-common-prefix-and-suffix