Daily Useful Linux Command
Daily Useful Linux Command
- rm -rf FOLDER_NAME - To Delete Folder and it’s contain
- df -h - To View available disk space
- gunzip -c foo.tar.gz | tar xvf - To unzip
- tail -f FILE_NAME.log - To monitor log file
- ps -af - To display all the processes running on the host
- uname -r - To print Linux version information
- more /proc/cpuinfo - To print hardware summary
- history - To Call commands from History
- !23 ( where, 23 history id ) - To Call commands from History
Debian Command
- sudo dpkg -i package_file.deb - To install package in debian Linux
- sudo dpkg -r package_file.deb - To uninstall a .deb file
- sudo dpkg -R folder_nam - To Install all packages recursively from a directory
0 comments:
Post a Comment