human readable format

I have a large number of files stored in ~/Downloads/ directory. How do I sort and print sizes in human readable format using du -h command under Ubuntu Linux LTS version 12.04 or any other Linux distributions?

{ 11 comments }

How do I find out my CPU architecture information under Linux operating systems?

{ 13 comments }

I want to add more RAM to my server running Ubuntu Linux. How do I find out my current RAM chip information such as its speed, type and manufacturer name within a Linux system without opening the case?

{ 5 comments }

I need to get a list of sizes in human readable du output format. How do I get the output for du command in GB under Linux or UNIX operating systems?

{ 1 comment }

The rndc stats commands created /var/named/chroot/var/named/data/named_stats.txt file under RHEL 5.x or CentOS 5.x BIND 9 server. However, date is not is correct format. The date is in the following format:
grep ‘Dump’ /var/named/chroot/var/named/data/named_stats.txt
outputs:

+++ Statistics Dump +++ (1263408025)
— Statistics Dump — (1263408025)
+++ Statistics Dump +++ (1263408071)
— Statistics Dump — (1263408071)
+++ Statistics Dump +++ (1268304218)
— Statistics Dump — (1268304218)
+++ Statistics Dump +++ (1268304248)
— Statistics Dump — (1268304248)

How do I convert date (e.g., 1263408025) in a human readable format?

{ 5 comments }

How do I find out file size under UNIX / Linux operating system and store the same to a variable called s?

{ 9 comments }

Q. I need to find file permission and store the same to a shell variable. How do I find out the file permission without parsing ls -l output? A. Use GNU stat command to display file or file system status. It has option to display output in specific format. Display stat for /etc/passwd file Type […]

{ 2 comments }