08-25-2009
you can try this,
du -k | sort -n
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I display the size of a directory and contents witin a directory
df only gives me the mounts (3 Replies)
Discussion started by: t4st33@mac.com
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
I'm a Oracle Dba first time working in Solaris, i have worked on linux (redhat). I want to see the size of the particular directory e.g oracle and also the size of the database files.
Thank you (1 Reply)
Discussion started by: shaan_dmp
1 Replies
3. Shell Programming and Scripting
Hi Genius,
I would like to display filesystem size that cross 75% as used using df -k.
I would thank in advance for your answer.
Thanks and Regards,
HAA (2 Replies)
Discussion started by: HAA
2 Replies
4. AIX
Hi,
How can i increase the size of my display on AIX 5.3.What i mean is e.g if i do and ps -ef i would get some like:
/data/app/oracle/product/10.2
/usr/bin/ksh /usr/local/bin/s
i want it to show the whole thing on the screen without cutting it,because there is still space on the screen... (0 Replies)
Discussion started by: sellafrica1
0 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
Is there any built in function that can display the content of a directory showing the size of directories?
I want to see the content of a directory without recursion. I don't want to see the content of all subdirectories.
I want to see the contained files with their size and the... (6 Replies)
Discussion started by: chebarbudo
6 Replies
6. Shell Programming and Scripting
Suppose there are 3 files inside a directory, then i need to use display command which will display, the file name and its size. Is it possible?
The output should llook like this only
file1 1248
file2 3024
file3 3056 (6 Replies)
Discussion started by: sundaresanv
6 Replies
7. Shell Programming and Scripting
Hello, all!
Working in a Bourne shell. What command would list the filename and size of a file if the size of the file had to be bigger than $a and smaller than $b?
Output (if $a is 10 bytes and $b is 50 bytes):test1.txt 15
test2.txt 30
test3.txt 50
Thanks,
Ann :p (3 Replies)
Discussion started by: LowlyIntern
3 Replies
8. Shell Programming and Scripting
Hi All,
hope you all are doing well!
I kindly ask you for shell scripting help, here is the description:
I have huge number of files shown below on date wise, which contains different strings(numbers you can say) including 505001 and 602001.
... (14 Replies)
Discussion started by: VasuKukkapalli
14 Replies
9. UNIX for Dummies Questions & Answers
help me (1 Reply)
Discussion started by: sonu pandey
1 Replies
10. Shell Programming and Scripting
I have 3 files. Each of those files have the same number of records, however certain records have different values. I would like to grep the field in ALL 3 files and display the output with only the differences in column wise and if possible line number
File1
Name = Joe
Age = 33... (3 Replies)
Discussion started by: sidnow
3 Replies
LEARN ABOUT CENTOS
wrap-and-sort
WRAP-AND-SORT(1) General Commands Manual WRAP-AND-SORT(1)
NAME
wrap-and-sort - wrap long lines and sort items in Debian packaging files
SYNOPSIS
wrap-and-sort [options]
DESCRIPTION
wrap-and-sort wraps the package lists in Debian control files. By default the lists will only split into multiple lines if the entries are
longer than 80 characters. wrap-and-sort sorts the package lists in Debian control files and all .install files. Beside that wrap-and-sort
removes trailing spaces in these files.
This script should be run in the root of a Debian package tree. It searches for control, control.in, copyright, copyright.in, install, and
*.install in the debian directory.
OPTIONS
-h, --help
Show this help message and exit.
-a, --wrap-always
Wrap all package lists in the Debian control file even if the entries are shorter than 80 characters and could fit in one line line.
-s, --short-indent
Only indent wrapped lines by one space (default is in-line with the field name).
-b, --sort-binary-packages
Sort binary package paragraphs by name.
-k, --keep-first
When sorting binary package paragraphs, leave the first one at the top. Unqualified debhelper(7) configuration files are applied to
the first package.
-n, --no-cleanup
Do not remove trailing whitespaces.
-d path, --debian-directory=path
Location of the debian directory (default: ./debian).
-f file, --file=file
Wrap and sort only the specified file. You can specify this parameter multiple times. All supported files will be processed if no
files are specified.
-v, --verbose
Print all files that are touched.
AUTHORS
wrap-and-sort and this manpage have been written by Benjamin Drung <bdrung@debian.org>.
Both are released under the ISC license.
DEBIAN
Debian Utilities WRAP-AND-SORT(1)