Server :: List Folder Size In Descending Order?
Feb 8, 2010how to list folder size in descending orde
View 2 Replieshow to list folder size in descending orde
View 2 Repliesin my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.
Is the same can be use for the date format YYYYMMDD ?
In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.
View 3 Replies View RelatedHow can I generate a list of files in a directory [e.g.: "/mnt/hdd/PUB/"] ordered by the files modification time? [in descending order, the oldest modified file is at the lists end]
ls -A -lRt would be great:[URL]
But if a file is changed in a directory it lists the full directory...so the pastebined link isn't good [i don't want a list ordered by "directories", I need a "per file" ordered list]
OS: openwrt..[no perl -> not enough space for it :( + no "stat", or "file" command]
I'm installing things in a new Red Hat server and saw that the /var folder is full (100%). I need this folder to have more space or another kind of solution because this server is going to be used as a print server.
View 7 Replies View RelatedHow would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?
View 4 Replies View Relatedlist the 'chkconfig --list' in alphabetical order
View 3 Replies View Relatedin our organization we are developing a job portal web application for a client. using Apache-tomcat we are hosting this application, now i need to delimit the applications directory comer under the webapps directory. to reduce the uploading limit.
View 4 Replies View RelatedI just want to know how the default size of a newly created file or folder is 4.0 kb.Does this value is mentioned in any configuration file,if that is the case can we edit that file and can we change this default value.
View 7 Replies View Relatedone command to list the list of folders/ within the folder.
View 4 Replies View RelatedI have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
[Code]....
I've installed ubuntu 11.04 side by side with my xp. However after reboot I found my boot order list is like
Ubuntu, with Linux 2.6.38-8-generic
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
Memory test (memtest86+)
[code]....
As you can see the windows option is way in the bottom, how to make it to be on the second line like below ?
Ubuntu, with Linux 2.6.38-8-generic
Microsoft Windows XP Professional (on /dev/sda1)
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
[code]....
how can I remove the other 3 which I thought unnecessary
I tried looking this up. It seems that in Ubuntu, you need to edit /boot/grub/menu.lst. I tried that, and the file is not present in Debian "Squeeze". (Just trying it out on a different PC, In case you are confused by my other thread regarding Lenny) So what do I need to do to change the default OS to boot?
View 3 Replies View RelatedI have 4 hard drives in my computer. 1 for may root and home partitions. 2 extras for storage and 1 for Windows. I have the hard drive with my root and home partitions set as the first hard drive in the bios. However, in the Ubuntu setup it isn't the first one in the list. I would have thought that the first drive would be get set to sda. That is not the case.
View 1 Replies View RelatedI am running fully updated ubuntu 10.10 and now, since 2 days ago, when I open a file
in open office, gimp or gedit etc the directories and files now appear in reverse alphabetical order.
I have a server with what appears to have 352 home directories (350 actually if you omit '.' & '..') & I am being asked to basically tally a list of whom all 350 users are in alphabetical order. Now I could sit here for days doing the 'finger' command to obtain their full name commented in '/etc/passwd' file but I would assume there is a script or way I could have Linux quirry the '/etc/passwd' file & take all the user 'comment' entries and export them to a list in alphabetical order. Does anyone know if this could happen and if so, how would I do something like this? I can't write bash / shell scripts to save my life
Code:
cmennens@mail]:/$ ls -l
total 160
drwxr-xr-x 352 root root 12288 Oct 21 13:41 home
When running the umount command like this as superuser: umount /dev/sda8. get the following message:umount: /home: device is busy.(In some cases useful info about processes that usethe device is found by lsof(8) or fuser(1))
View 9 Replies View RelatedI regularly use 'df -h' to check usage on each of my primary directories and mount points.
I'm currently somewhat confused by disk usage within my filesystem, so I'd like to do the following:
Display directory size of all, or say, the 10 largest, subdirectories to a specified directory. So, if I passed the root (/) directory, output would list the subdirectory of / with the largest disk usage first and its associated disk usage listed in human readable format (either M or G suffix as appropriate), followed by the subdirectory and usage for the second largest directory and so on.
Can anyone suggest a command or series of commands to do this?
How do you change the order of the list? I have Xubuntu 9.10 installed on a 5 gig partition. I only use it for Skype as the mic does not work in 10.04 at the moment for me.Anyway, I would like 10.04 to default to the top of the list. How do I change the order when grub loads.
View 4 Replies View Relatedpossible to rename a list of files in batch in order to maintain the last part of them, then purge a central section and then again maintain the extension?I.E.:
Code:
file01.qwertyuiop.txt
file02.asdfghjklmnbvzxcqwertyuiop.txt
[code]....
pkgtool just lists it in alphabetical order.
View 14 Replies View RelatedI want to list my folders and subfolders (recursive) and also show the size of the files in terminal. I started using this:
Code:
ls -h -R > /test.txt
I got everything but not the size of the folders.
Then I tried this:
Code:
du -h --max-depth=1 > test.txt
Suppose to show me everything, but I can't see subfolders. And this command do not accept recursive. How can I show the size of the files and folders like the second command, but including the subfolders?
Using PHP 5.x. I would like to sort a set of values first numerically, then alphabetically. For example, here's my code so far:
Code:
<?php
print "<p style="font-family:verdana;font-size:10pt">
";
$myArray = array("1223:starfruit", "34112:oranges", "1223:zucchini", "321:apples", "34112:pears", "1223:tomatoes");
[code]....
I have fiddled with array_multisort but I can't seem to get my head around it or the many sort routines in PHP.
I have an ASCII file containing 3 Columns of descending data as flollows:
3277.233 | 9.032167E-16 | 5.354040E-16
3276.725 | 1.825813E-15 | 7.552098E-16
3276.211| 2.472245E-15 | 8.826818E-16
3275.699| 2.943001E-16 | 3.192112E-16
[Code]....
I want to sort them in ascending order.
Does anybody know how to do it in Ubuntu 10.4.
Just wondering if it's possible to change the size of icons when Nautilus is in List View. I tried playing around with gtk-icon-sizes in the gtkrc file of my theme, but there doesn't seem to be a setting for it there. I could just zoom in/out, but when I have the icons the size I want them to be, the text is too small (see attachment).
View 4 Replies View RelatedI want to know how to get the details of all files in my system more than 20mb or some specific amount of file size in Ubuntu terminal by using commands.
View 1 Replies View RelatedI am in the process of customizing my desktop, and I have run into a problem. As a programmer, I will invariable end up with tons of windows open. I would like to expand the gnome-panel's Window List's y size to allow more applications to show without being crunched together.
That's the way the desktop currently looks, notice the tiny Window List in the top left. That's as big as it gets. I want to expand it all along the entire left side. I have a feeling the answer is in gconf-editor, but i just can't find the right field to modify.
Assuming there are two list objects a1, a2.
a1 = ['
']
a2 =['hi
']
len() built-in function gives total number of elements in the list object.
len(a1) gives 1. len(a2) gives 1 also.
Code: Select all$ python
Python 2.7.3 (default, SepĀ 9 2012, 17:41:34)
[GCC 4.7.1] on linux2
[Code]......
I thought there exists a built-in function that gives total size of a list object in byte. So using the function produces 1 for a1, 3 for a2. I haven't found such function or module yet.
As I have a opt/sybase folder in Linxs I want to increase the size of this folder how can I increase it? For example the size we mention at the time of installation Sybase is 2gb now I want to increase by 4gb how can I increase it.
View 2 Replies View RelatedI am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.
#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget
[code].....