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?
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.
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
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 ?
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?
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.
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?
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
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:
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?)
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
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.
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
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.
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.
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...
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).
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).
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.
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, 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