General :: Use Sort Command For Its Ascending Order And Descending Order?

Aug 18, 2010

in 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 ?

View 3 Replies


ADVERTISEMENT

General :: Sort Columns Of Data (descending To Ascending)?

Mar 21, 2011

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.

View 5 Replies View Related

Server :: List Folder Size In Descending Order?

Feb 8, 2010

how to list folder size in descending orde

View 2 Replies View Related

Programming :: List 4 Names From Users List And Output Them To Fbusers In Numbered Ascending Order?

Feb 2, 2010

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?

View 4 Replies View Related

General :: Sort .txt File By The Numerical Order Of Column?

Mar 22, 2010

I have this .txt file

3183630 R
3574216 W
5264994 M
2656889 A

I want to sort it by the numerical order of column. After sort, I wish to get output like

2656889 A
3183630 R
3574216 W
5264994 M

anyone knows how to use sort to do that? or any other command?

View 6 Replies View Related

General :: Save / Sort Files In Sequential Order Sector By Sectyor

Aug 26, 2010

I have a china phone which has mp3 player and unfortunately it reads the file names in its memory card in sequential order according where the file is saved. The file system is NTFS. cod

**Note: DDD song was last because I saved AAA to EEE songs then later added DDD song

Then suddenly i deleted BBB song and replaced it with FFF song code...

This is kinda lame. but the OS of the phone has no capability sorting the file according to filename in its built in mp3 player.

my question is how can I sort the files sector by sector(is my term right?) so the lame mp3 player would read the files finally in alphabetically sorted order. I Will plug my phone on my PC

I am using ubuntu 10.4

View 1 Replies View Related

General :: Does Order Of Command Options?

Feb 7, 2010

Does the order of command options matter?

View 4 Replies View Related

Ubuntu :: Way To Manually Sort Order Of Places

Jan 10, 2010

Is there any way to manually sort the order of Places (KDE's "bookmarks") that show up in the side panel of Dolphin, or to have it automatically sorted e.g. alphabetically?One might think such a feature, if it existed, to be well-documented and easily-accessible.

View 5 Replies View Related

Ubuntu :: Change Sort Order In Nautilus?

Feb 12, 2011

How do you change the sort order in Nautilus? I want it to look like this code...

View 10 Replies View Related

Software :: Get Nautilus To Sort Filenames In Lexicographical Order?

Mar 14, 2010

I have a bunch of files named in hexadecimal, which get displayed in order 0A, 0B, 0C, ..., 0F, 01, 1A, 1B, ..., 1F, 02, 2A, ... 2F, 03, 3A, ..., 9F, 10, 11, 12, ..., 99, A0, ...

How do I get them displayed in the correct order?

View 1 Replies View Related

General :: Host Command And Web Browser's Don't Accept Hosts.conf Order

Mar 4, 2011

Why does ping see audit.median.hu as 127.0.0.0, and why does host -t a audit.median.hu see it as 193.68.35.149? audit.median.hu is just an example site [hosts ads, etc.]

I just have a caching nameserver on my Fedora PC:

I configured my DNS server addresses in the Network-Manager Applet: 127.0.0.1, 8.8.8.8

Even with Wireshark, I can see it:

So the big question: Why don't the host command or my web browser recognize that I have modified audit.median.hus IP address?

View 1 Replies View Related

General :: Unable To Start Apache On CentOS - Invalid Command 'Order'

Aug 25, 2009

I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13

View 99 Replies View Related

General :: Pass Option To LILO In Order To Have Script / Command Executed At / After Boot

Aug 28, 2009

I have one distro installed, LILO as the boot loader, and i wonder if it's possible to duplicate the lilo entries with an option which executes some script or command during, or after the boot.Actually, i installed a Slackware + autolaunching virtual machine, but i have two VM, so i need to autolaunch one of them. May i choose it from the very beginning ?

View 9 Replies View Related

Programming :: Php - Sort Numerical Descending Then By Alphabetical?

Mar 10, 2009

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.

View 3 Replies View Related

Ubuntu :: Terminal Command To List Disk Usage In Order?

Mar 29, 2010

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?

View 6 Replies View Related

Ubuntu :: Command / Script To Rename Files In Datetime Order?

Jun 1, 2010

I'm trying to rename all files in a folder as such:

1.jpg
2.jpg
3.jpg

Renaming them is no problem, the problem I have is, they need to be in order of the datetime that they were taken, so that the 1.jpg would be the oldest file there. The difference in filetimes is going to be very small, around 3 or 4 tenths of a second.

The reason I need to do this is that I have another script (not quite finished yet), that takes the next three files in a loop and applies qtpfsgui to them to output an HDR image to another folder, then move on to 4,5 & 6, and: repeat.

View 9 Replies View Related

Red Hat / Fedora :: Command-line BIOS Boot Order Change?

Jul 15, 2009

I'm trying to automate OS installation. I've setup PXE and able to do network installation. For installation, I'm changing the BIOS boot order to boot from network.Once the OS installation is over, I need to manually change the BIOS boot order to boot from hard-disk. Can BIOS boot order be changed using programs/command-line so that i can eliminate human intervention in the installation process by changing back to the original boot order by program/commands?

View 2 Replies View Related

Debian :: Execute Command Mactime In Order To Control Changes Made To The File System?

Apr 23, 2011

I am trying to execute command mactime in order to control changes made to the file system, but I am getting an error. I am running the shell as root, and it is the first time I run the command in this system - Debian Squeeze up to date. The I/O is as follows:

# mactime 3/1/2011
cannot exec /bin/date: No such file or directory
cannot exec /bin/hostname: No such file or directory
cannot exec /bin/uname -n: No such file or directory
Cannot open /var/cache/tct/data/Amnesiac/body: No such file or directory

The first three lines of output are the ones that are worrying at the moment; I am not concerned with the last. Although error messages suggest the programs date, hostname and uname do not exist in /bin directory, they are available as shown by

[Code]...

View 3 Replies View Related

General :: Set The SGE Job Execution Order?

Jun 22, 2010

I am trying to write a script to set the SGE job execution order. I named each job with 'job1', 'job2' and 'job3'. I want my script to do: When 'job1' execution is complete, 'job2' is executed; when both 'job1' and 'job2' are complete, 'job3' is executed.

First, I tried this following script and it worked well:

########
qsub -N job1 run1.sh # run1.sh includes "mv file_name1 file_name2"
qsub -N job2 -hold_jid job1 run2.sh # run2.sh includes "mv file_name2
file_name3"
########

[Code]....

View 7 Replies View Related

General :: What Order To Get PC Working On Internet?

Apr 1, 2011

I have installed Suse Linux Enterprise Server 11 onto the box that I am using as a server. Connected to the "server" is a Windows Vista PC.Beyond installing the O/S with all the options I need - I am stuck. The Windows PC will not connect to the internet whereas the Linux server will.What do I need to setup and in what order to get the pc working on the internet?

The path that I think I need to take is to disable dhcp on the broadband router and setup the server as dhcp (how and what); setup the rules in the firewall (how and what rules?) and setup dns and dhcp (how and what?)

View 14 Replies View Related

General :: Change Default Boot Order In 10.04?

Jan 13, 2011

How can I change default boot order in Ubuntu 10.04 from Ubuntu to Windows7? However, I already checked sudo gedit /etc/default/grub and modify the grub file to be GRUB_DEFAULT=4 and update the grup sudo update-grub I even install graph software to re order the book sudo startupmanager But still after restart the default choose for boot is Ubuntu ...

P.S: I am using Ubuntu 10.04 with grub version 1.98

View 2 Replies View Related

General :: Win7 - Multiple OS Install Order?

Jan 20, 2011

I am currently running Windows 7. I want to install the latest ubuntu (which I know I can just install right on top of &) but I also want to install FreeBSD and either Windows Server 2003 (maybe 2008 if i can get my hands on it). What would be the best way to go about installing these 3 OSes next to W7? I was also thinking about just upgrading my hard drive to a 2TB internal anyways, so waiting to get that is also an option, then installing everything in the "best" order. I also want to try installing Mac sometime too once I upgrade hardware.

View 2 Replies View Related

General :: Rename Images So They Burn To CD In Order

May 7, 2011

I have a bunch of images named:

1.jpg
2.jpg
317.jpg
317 (2)a.jpg
etc.

In my file browser (Nautilus), they are displayed in the correct numerical order. However, in Brasero when I order them, it orders them strangely (correctly, but not the way I want them to). They order like this:

1
10
100
101

[Code].....

Can someone recommend a naming convention to rename all these files to so they are in the correct order (for example, cameras use IMG_xxxx.JPG, which is nice)?
Can someone give me a Linux command line rename command for these files so they are renamed to display and therefore burn in the correct order?

They're standard JPEG files, so ordering them by the date in the EXIF data might work. I just need the correct commands, or GUI - I don't mind - to get them in order.

View 3 Replies View Related

General :: In What Order Are Files And Directories Copied When Using Cp -R?

Jun 26, 2011

If I execute the following command:
cp -R /myfiles /mydestination


If myfiles contains several sub-directories and files, in what order will they be copied? For example, directories might be named 0123a, 9993c, myfolder, xfolder.

They are not copied in alphabetical order OR in date order OR in the order they appear when using a standard ls command as far as I can tell, so what actually does determine the order?

Edit:
I am trying to determine the order that the cp command uses in order to determine how far along my copy command made it before it stopped. For example, I was hoping to be able to determine it copied 3 of the 4 directories successfully.

View 1 Replies View Related

General :: Get Wine To Run On OpenSuse 11.4-in Order To Use WinSCP

Sep 11, 2011

I want to get wine to run on OpenSuse 11.4-in order to use WinSCP [URL]How can I do this?

View 2 Replies View Related

General :: Change The Boot Order In Grub?

Aug 4, 2010

I just installed Ubuntu 10.04 onto my toshiba C655 iCeleron 900 2.20ghz 1GB RAM. I have win7 and I have a 4GB swap partition. How Do I change the Boot order in Grub? I saw instructions somewhere else to type sudo, etc in the command line and was getting access denies...

View 5 Replies View Related

General :: Use Xplot In Order To Plot A Spectrum?

Mar 6, 2011

I want to use xplot in order to plot a spectrum but when I executed the code by typing "xplot qso.fits" in terminal it returned the following error one after the other so I was force to stop the program using "Ctrl + C". (I am using Ubuntu 10.4 and I have also PGPLOT installed on my Linux).

[Code]...

View 1 Replies View Related

General :: Can't Change The Boot Partition Order?

Jan 27, 2011

I recently installed Ubuntu on one of my partitoins. Sinec I am new, I formatted that partition to install a different type. Now when I boot my machine, instead of booting to my Windows partitoin, it boots to my blank Linux partition and gives me a Linux prompt.

I can boot from the Ubuntu DVD, by changing it in my BIOS, but I can't change the boot partition order within Linux (that I know of).

View 3 Replies View Related

General :: Change The Macintosh Boot Order?

Feb 19, 2010

I'm working with an employer as part of a college internship. I work on anyone's computer that brings it in. Some lady brought in a macintosh. I'm not here to give my opinion on evil, controlling corporations, but I can't figure out how to get the thing to change boot order.

It has an old and unsupported version of OSX, it's "panther" and I can't even install any firefox after 2.0. It has 256mb ram and a 1.8ghz single core so I thought to dual boot it with debian.

-Tried holding "C"
-Tried holding "option key" (alt)
-Tried holding command (windows) + option + shift + delete
-Went into system prefs and chose "startup disk" but it doesn't list the CD drive at all.

The bios, or whatever it is, is completely blank at startup besides an apple logo.

View 1 Replies View Related

General :: Changing Boot Order With Grub

Feb 21, 2011

I'm working my way through my Linux self-education and I'm hitting a slight road block. After consulting forum posts here and elsewhere, I have tried to alter my grub boot order by editing my menu.lst file found in /boot/grub. I don't seem to be having any luck. Changing the default [value] doesn't seem to work, nor does the savedefault. Below is a copy of my file.

Code:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

default 4
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
# examples

# titleWindows 95/98/NT/2000
# root(hd0,0)
# makeactive
# chainloader+1
# titleLinux
# root(hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=18250e14-e47e-4bf9-a927-6456120575f8

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=0x317 resume=/dev/hda5
# defoptions=vga=0x317
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
splashimage=18250e14-e47e-4bf9-a927-6456120575f8/boot/grub/splash.xpm.gz

titleBackTrack 4 R2, kernel 2.6.35.8
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/vmlinuz-2.6.35.8 root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro quiet splash
initrd/boot/initrd.img-2.6.35.8
quiet

titleBackTrack 4 R2, kernel 2.6.35.8 (recovery mode)
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/vmlinuz-2.6.35.8 root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro single
initrd/boot/initrd.img-2.6.35.8

titleBackTrack 4 R2, memtest86+
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
titleOther operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
titleWindows Vista/Longhorn (loader)
root(hd0,0)
savedefault
makeactive
chainloader+1

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved