Here’s how to sort files by size in Linux. Standard; ls -lhS Reverse; ls -lhSr Options used; -l –> print long listing -h –> print human readable sizes -S –> sort by file size -r –> reverse order Output; [root@kmon01 log]# ls -lhS total 70M -rw-r–r– 1 root root 36M Mar 31 11:28 messages -rw-r–r– [...]
Running the ‘ history ‘ command only gives you line numbers. Sometimes it’s useful to have a time stamp attached to each command to build a clearer picture. Simply set the ” HISTTIMEFORMAT ” env variable to enable time stamps in ‘ history ‘. Run the command below. export HISTTIMEFORMAT=’ %F %T ‘ Before: After:
Here’s a quick guide to install VirtualBox 3.1.2 on Fedora 12 1. Import Sun’s public key [dexter]# wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | rpm –import – 2. Download the Fedora repo file and save it into the /etc/yum.repos.d/ directory [dexter]# cd /etc/yum.repos.d/ [dexter]# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo [dexter]# yum clean all 3. Install VirtualBox 3.1.2 [dexter]# yum install [...]
Google Chrome for Linux is finally out!! It’s in BETA for now so expect to run into a few bugs here and there. 23 developer builds 2,713 Linux-specific bugs fixed 12 external committers and bug editors to the Google Chrome for Linux code base, 48 external code contributors 60,000 lines of Linux-specific code written 23 [...]
What ya think? Is Linus Torvalds digging Windows 7? The Japanese dude behind has no clue what going on…!! Source: LinuxInsight