Ubuntu :: File List Now In Reverse Alphabetical Order
May 26, 2011
I 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
In Linux, the files were processing based on timestamp. How to process the files based on alphabets? My application is in windows. Here I am processed the files based on alphabetical order. While coming to linux its coming wrong.
I need to copy my music to a portable HDD in alphabetical order. My headunit in my car will only display the folders and files in the order that they were written to the disk so to have any form of logic to the album / track listings they need to be written to the disk in alphabetical order.
how to do this in openSUSE? I know dolphin doesn't do this.
If I, in VLC, choose a folder with several mp4 or other multimedia format files, it will show em in the playlist in random order, definitively not alphabetical. that didnt use to happen before.
I'm trying to get Chinese filenames to be listed in alphabetical order according to pinyin. Long ago I remember having to install a particular package for that to happen, but in the past year or so I believe that ubuntu at least was doing that automatically. On my most recent linux installation, however, I find that it's not sorting file names by pinyin order. I'm wondering if I have forgotten to install something this time.
I am trying to write a bash script that will extract a .cbr (.rar) file, traverse the extracted files in alphabetical order and rename them 001.JPG, 002.JPG, 003.JPG, etc.So far I only have this much to extract it:
I have a BROTHER MFC-495cw and i do alot of printing so when i as openoffice, adobe etc to print a document it always comes out 1st page first with the last page on top (when i do it this way i have to go in and turn everything around i'm tired of doing that) i want it to print the page from last to first that way the first page is always on the top of the stack
i am running ubuntu karmik koala and i already mentioned my printer model
Here is what I have so far.The program receives and echos characters without syscalls. I am trying to add 2 procedures(rev7 and putint)Rev7: Reverses the least significant 7 bits and outputs $s2Putint: Prints the decimal value of $s2.When i run it, it echos the character then prints a "P". I have no idea where that comes from.Everything seems correct to me but I do not understand why it does not print the decimal digits
I'm trying to write an extension to PHP which means coding in C. I'm really really rusty at C coding and was never very good at it.
Can anyone propose an efficient, safe, and [hopefully] future-proof way of reversing a double? Keep in mind that it should work on as many systems as possible and on 32- and 64-bit systems (and on ???-bit systems in the future?). Will the size of a 'double' ever change or will it always be 8 bytes?
I've tried this and it doesn't work...the compiler complains about "invalid operands to binary" because I'm trying bitwise shiftw on a non-integer.
How 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?
I'm curious as to whether anyone else has experienced this, and has an explanation. I'm running Kile 2.0.85 under openSUSE 11.3 32-bit on a Lenovo X61. Twice in the past couple of days I've had the bizarre experience that, upon a sudden burst of typing my text has appeared in Kile in reverse order.
no ngis fo ecnacifingis eht fo redaer eht dnimer esaelp ,dniw cihportsoeG a htiw snoitalumis eht gnicudortni erehw ,Note the perfect reversal (I rarely type that accurately in forward mode). A day later it happened again: )1.3.5( noitceS fo hpargarap dnoces eht ni ,niaga ecnO.I've been using Kile for almost a year now, on two different machines and under several versions of openSUSE. Nothing remotely like this has happened before. I don't think I have a virus. I can't think of any event that may have heralded this mystical behaviour. Cheers, jdw
I 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.
I 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.
possible 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.:
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?
I have recently switched to using LXDE on my PC and I am on the whole pretty pleased with it. However,PCMan is giving me a really odd problem. Some of the files/folders are being displayed in the wrong order where they contain numbers. They are being ordered by their first digit not the whole number.
I have a file consisting of unique IP addresses - one per line I want to find the name of the host for each address. I tried the following:
Quote:
nslookup < file_name
This worked except it gives me a lot of extraneous information such as the servers providing the answers. This is too much information for me and would simply like each line of IP numbers to be replaced with a domain name. I tried using the same strategy using host and hostname and dig but I must have given the wrong command as I had no results.
I install a Bind 9 with chroot in Centos 5, but the issue is the Reverse Name Resolution Zone File didn't create by default like other zone files, so i look into /var/named directory i don't find the reverse name resolution zone file even if i add this zone on named.conf
zone "1.168.192.in-addr.arpa" IN { type master; file "1.168.192.testsip.com.zone"; allow-update { key "rndckey"; }; notify yes; };
I want to do is this: choose the order (other than alphabetical) of the files that I burn to a disc.Brasero doesn't allow it K3b doesn't allow it GnomeBaker doesn't allow it Unless I am missing something, I can't figure out any way other than renaming all my files with a single number and/or letter at the beginning of a file name to choose the order of files. This blows my mind it seems like the most "no duh" feature that everyone would need in any Cd burning program. if I am stupid or if the software developers are stupid. (because I really can't see any other options) This is seriously so important (to me), that I will abandon Linux and go back to Windows if I can't do it.
I've recently switched from Windows to Ubuntu and have a question regarding tweaking the character order Nautilus uses for alphabetical sorting. In my music/graphics/etc folder hierarchies, I have used a hyphen at the start as a 'hack' to 'sticky' some folders above the rest for quicker access. This worked fine in Windows, but Nautilus ignores a hyphen in it's sorting calculations. Is there anyway, simple or complex to replicate this behaviour in Nautilus?
I am trying to change the default boot in grub to the last OS, and cannot find the menu.lst file under the /boot/grub directory.
I have tried to use the locate command to find the menu.lst file, but it doesn't exist. I have grub 1.98 installed and was wondering if the file I need to edit might be under a different name.
I recently updated Ubuntu to 10.04 (lucid) Kernel linux 2.6.32-27-generic gnome 2.30.2
Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:
14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found 14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found
[code].....
Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.