All you need to do is create a file in root folder / touch /forcefsck Reboot your system shutdown -r now At bootscreen press F8 to see the verbose log to see if disk is being checked
Archive for the ‘Bash’ Category
Attaching Timestamps / Date stamps with file name in linux
Posted: 30th December 2011 by admin in BashHi Folks, some times when we are working with backups we have to assign year, month and date datestamp to out files. Below command gives you time "20111212" format date +%Y%m%d If you have to use above with e.g copy command cp test.zip /home/user/test_back_$(date +%Y%m%d).zip
Commands All of these commands must be run as root or with superuser privileges, see sudo for more information. Replace <package_name> with the name of the package you are attempting to install. sudo apt-get install ubuntu-desktop Installation commands apt-get install <package_name> This command installs a new package. apt-get build-dep <package_name> This command searches the repositories and [...]
To install Byobu in Ubuntu, add the following -Ubuntu Karmic: sudo add-apt-repository ppa:byobu/ppa -Ubuntu Hardy, Intrepid and Jaunty: sudo bash -c “echo ‘deb http://ppa.launchpad.net/byobu/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main’ >> /etc/apt/sources.list” sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys F430BBA5 Replacing YOUR_UBUNTU_VERSION_HERE with jaunty, intrepid or hardy. And then, to install it: sudo apt-get update && sudo apt-get install byobu To start [...]
Byobu is one beauty you will love if you have lot of putty sessions openned and you want to monitor then and resources running under the them. I will share Ubuntu Guide to Byobu. Its must have tool for me now and believe you guys are gona love it as well. Reference: https://help.ubuntu.com/community/Byobu Enable/Disable Byobu can be configured [...]