General :: Default Arguments To Save Time?

Mar 29, 2011

How do I set ls so that when I type ls it actually runs ls -l. This Sounds minor but I'm trying to save keystrokes wherever I can. This is on Ubuntu 10.10.

View 4 Replies


ADVERTISEMENT

Fedora :: Can't Save Kernel Arguments

Jan 5, 2010

I am using an Acer Aspire Timeline 4810TZ with F12 installed. I have to enter the kernel argument intel_iommu=off each time I boot. This means pressing escape, going to the correct kernel, pressing A (to change kernel arguments), and then entering the command. I've seen some sources that suggest editing /boot/grub/grub.conf, but I've tried it and it doesn't seem to make a difference. I'm wondering if maybe there's another file that I have to edit, because I don't see the kernel arguments in grub.conf that I see when I press A in the grub menu.

View 4 Replies View Related

General :: Show Output On Terminal And Save To A File At The Same Time?

Jul 1, 2010

I am using:

user@unknown:~$ sudo command -option > log

to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible?

I am using ubuntu 10.04 lts.

View 3 Replies View Related

Ubuntu :: Unsupported Number Of Arguments / Falling Back To Default Session

Aug 4, 2011

I just installed my Lubuntu, but I upgrade to lubuntu 11.04 (natty), after that I decided to try unity, so I installed ubuntu-desktop and unity, but when I try to start session on Ubuntu or unity it told me the title error, then I got the error.It open me a session without any menues and just a clean desktop.On another topic, after I upgrade, Lubuntu ask the password each time I turn on my computer, But when I try to change the settings and click on the button that say: enter session without asking password, that button appear locked.How do I unlock it?

View 6 Replies View Related

General :: Can't Load Ubuntu 1010 From CD And Save Old Ubuntu At The Same Time?

Apr 20, 2011

I've been using Ubuntu for a couple of years and like it just fine. However I updated to Ubuntu 1010 and started downloading most recent updates and now when I turn on my machine the cursor just flashes and Ubuntu won't load up. I sent off and received a Ubuntu 1010 CD, but can't figure out how to load it up without loosing all my data from my previous Ubuntu. I think somehow my GRUB got corrupted, because I can still get the information when I look at it from a second harddrive that I also have Ubuntu on.

View 2 Replies View Related

Ubuntu :: Default Save Location For VIM?

Nov 1, 2010

I saved a file with vim, but not really sure where it is. I didn't specify a save location, just :w filename.

View 3 Replies View Related

Ubuntu :: Save Configuration As Default?

Aug 20, 2011

I've customized my ubuntu setup using many themes and icon packs and now have it just the way I like it but every time I create a new user account it resets to the default interface. Is there any way to save the current configuration I have (theme, icons etc.) as default?

View 3 Replies View Related

Ubuntu :: Grub 1.99 Won't Save Default OS With Startupmanager

Apr 30, 2011

I upgraded my wife's dual boot netbook (Ubuntu/Win7) from 10.10 to 11.4. Windows was set as the default OS in Grub v 1.98 via startupmanager in 10.10 and that's the way I want it to be again. After the 11.4 upgrade, Ubuntu 11.4 is set to defualt and even though I changed the default in startupmanager it always defaults to Ubuntu on boot. It's interesting to note that when I go back in to startupmanager to see what's up after reboot, it still has Win 7 selected.

Also, the choices in startupmanager look a little different from what shows up in grub. Grub shows just the latest version of ubuntu (and recovery mode), the memtest stuff, windows, and "previous versions of ubuntu" while startupmanger just lists all three ubuntu version w/recovery options, memtest stuff, and Win 7. If I do sudo update-grub in terminal, it lists the available options just like startupmanager does.

Bottom line, Win 7 will boot if manually selected, but I can't set it to default, and this is my wife's netbook so she wants it put back I just remembered and I don't know if it would matter or not. I did the original Ubuntu install first, then win 7. I used a windows program called easyBCD to get back the ability to choose which OS on startup. When I upgraded 10.10 to 11.4, Grub is back in charge. If I manually select Win7 to boot in grub, that easyBCD selection menu will pop up for a sec,offereing windows or ubuntu.Could this be confusing startupmanager and not letting my changes take effect?

View 1 Replies View Related

Fedora Installation :: Tip: Save Time On Reinstalls?

Mar 9, 2009

When installing, write down your customizations, including settings and software you add.Lately, I've had to reinstall every couple of months due to crashes. Lots of customizations follow, which are easy to forget, but I usually use the same ones each time, and some settings I leave at their defaults. A list lets me skip the ones I don't change, saving time.Keep the list as text on another machine, in the order in which you carry out your steps, starting with what original software you want handy for a clean install.

View 2 Replies View Related

Ubuntu :: How To Change Back To Save By Default To / Username

Jan 30, 2011

Not sure how this happened, but my Print-to-file always automatically displays "File System" as the default save location.Does anybody know how to change this back to save by default to ~/username

View 9 Replies View Related

CentOS 5 Networking :: Save The Default Keyring Password?

Apr 17, 2009

is there any way that i can save the default keyring password? each time i logon, it asks for the passwd and once i provide it, everything is all right. But it's kinda annoying.

View 5 Replies View Related

Fedora :: Save Setting In Alsamixer - Get 6ch Every Time After Reboot?

Jul 21, 2010

I change the audio channels to 6 in alsamixer by choosing my sound card and change the channels to '6ch'. But this setting is not preserved. I see that after a reboot the channels are again going back to 2ch. I have to manually change everytime to 6ch after each reboot. Is there a way to save the setting in alsamixer so that I will get 6ch everytime after reboot? I am not sure I have explained my problem in a way so that you can understand.

View 2 Replies View Related

Ubuntu Installation :: Save The Default Grub Boot Settings?

Jun 27, 2010

I just installed Ubuntu Server 10.04. When I reboot, it stops at a "grub>" prompt. I figured out that I can continue booting by entering these four commants:

set root=(hd0,1)
linux /boot/vmlinuz-2.6.32-21-generic-pae root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.32-21-generic-pae
boot

I can't figure out, however, how to save these as the default so that the machine can boot without someone present to enter these commands. Running "grub-set-default" tells me "entry not specified." I don't see anywhere in /etc/default/grub that looks relevant.

How do I save my default grub settings?

View 2 Replies View Related

Slackware :: Change Default Firefox (Save As) Window Location?

May 20, 2010

Since school ended, I decided to finally wipe and due a clean upgrade to Slackware 13.0. Everything is great except one thing. When I want to save something in firefox, the "save as" window that popups up, that allows you to browse to right directory, popups too low. In my window manager(wmii), the bottom is cutoff. I want to have the window popup higher. Is this possible? In my previous install, I think the window would usually remember where it last was, but now it seems to always popup in the same location. I'm not sure if this is slackware, firefox or wmii issue. Also I tried another wm, Awesomewm, and it showed up in the same spot.

View 3 Replies View Related

Fedora :: Save A Workspace To Automatically Opens Every Time You Boot?

Jul 10, 2009

Is it possible to save a workspace so that it automatically opens every time you boot Fedora?

I like having Pidgin, Evolution, VLC, and Transmission open in the 4th workspace all the time. Sorry if this has been asked, I searched and found nothing, and this is the first Linux OS I've ever used!

View 14 Replies View Related

OpenSUSE :: Yast Date And Time Setting - Cannot Save Configurations

Mar 23, 2011

I am here to ask for some assistance on YAST. When trying to change the date and time through YAST, and clicking on accept, I get an error message saying "cannot save configuration". This is on openSUSE 11.3 x86_64.

View 9 Replies View Related

Ubuntu :: Change Default Save To Destination In Open Office Writer 3.2?

May 23, 2010

In Open Office Writer 3.2, is there any way that I can change the default "save as" "to" location from Documents folder to some other location (e.g., Desktop) in Lucid? I have looked thru everything I can find under tools>options, but I don't see anything that appears relevant.

Any command line deal I could do from terminal that might accomplish this?

This question is in connection with this thread: [URL]

View 2 Replies View Related

Ubuntu :: Make An Image Of Windows Partition To Save Time And Effort When Wanting To Restore?

Aug 6, 2010

Am quite new to Ubuntu (10.04) and have recently reinstalled XP. I want to make an image of my windows partition to save time and effort when wanting to restore this. I read the Ubuntu documentation on Drive Imaging [URL]..community/DriveImaging and am wondering if I've done things ok?

I've booted using the Live CD. Windows is on sda1 and is a 50GB partition. I have a hidden ntfs partition on the same hard drive at sda9 of 10GB. The first time I tried this I got an error regarding my output file saying "Not a directory". I'm assuming that was because I hadn't mounted sda9. It also reported an error saying permission denied on sda1. I then mounted sda9

Code:
sudo mount /dev/sda9 /mnt

I then changed to root as I thought not being in that was why I was getting the permissions error.

Code:
sudo -s
I've then done the following;
Code:
dd if=/dev/sda1 bs=1024 | gzip > /mnt/sda1.bin.gz

The terminal window is just showing a flashing cursor in the bottom left corner under the above command line input. Is the fact that my mount partition being smaller than my windows partition going to cause a problem or will gzip solve that? My Windows install occupies about 7.5GB of the 50GB partion.

I'm not sure if dd is just taking a long time to complete the task???

View 9 Replies View Related

General :: How To Log All Processes Launched And Arguments

Dec 16, 2010

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?

View 3 Replies View Related

General :: Generating Two Bash Arguments From 'ls'?

Jul 3, 2011

I have a directory containing the following files.

Code:

1-res-opt-I189N-0001.pdb
1-res-opt-I189N-0002.pdb
1-res-opt-I189N-0003.pdb
1-res-opt-I189N-0004.pdb

[code].....

What I want is something like:

Code:

for i in *.pdb
do
python my_script.py 1-res-opt-I189N-00{1..10}.pdb 3-res-opt-I189N-00{1..10}.pdb
done

such that always the two files with corresponding index are submitted together to the Python script. How do I do that?

View 4 Replies View Related

General :: Pass All Arguments To A Function?

Jul 6, 2010

I've got a sticky little problem with a bash script. Please consider the following code:

Code:
#! /bin/bash
processArgs() {
echo "Count = $#"
while [[ $# -ne 0 ]]; do
echo $1
shift
done
}

processArgs $* If I call this script with Code: ./script first second third it'll print each of the argument on a new line - exactly what I would expect. However if I call it with

Code: ./script "Single Argument" "Second-Argument" it splits the first argument in two using the space as a delimitor. The problem appears to be the call to processArgs, where $* doesn't honour the quotes around the variables sent to the script.

View 4 Replies View Related

General :: Passing Program Arguments To Gdb?

Nov 18, 2009

I'm using gdb to debug my program. My program requires arguments (e.g., ./prog -dfile).But if I use gdb as in gdb ./prog -dfile, gdb wants to interpret the -d argument. How do I pass an argument to my program via gdb?

View 2 Replies View Related

General :: Arguments When Calling A Script ?

May 13, 2011

Suddenly, i have problems when i call a script when i use some arguments/variables

Here is my code:

Code:

This is my output:

Code:

View 3 Replies View Related

General :: BASH Scripts Check For Arguments

Mar 5, 2010

I know that $1 ... $n will set the argument to the values but what happened if I have many options in one scripts lets suppose.

I can run:
myscript -1stargument -2ndargument -3rdargument
or myscript -1stargument
or myscript -1stargument -3rdargument

In my scripts I have
if [ $1 = "-1stargument" -o $2 = "-2ndargument"] #for every instruction I need
fi

but is there any way to do:
if [ (any arguments or commands) = "(mydesired option ] ; then
(do this...)
fi

View 6 Replies View Related

General :: Limit Unix Top Command Columns Via Arguments

Jun 2, 2010

I'm pretty sure this is super simple, but I've searched and searched and for the life of me I can't find any info on how to limit the columns that display in the interactive top program with arguments passed from the command line. I recall seeing something formatted like this ...

~/top -f (kdx)

Which would only show the %CPU, UID, program name fields/columns. I'd like to display the results in a really narrow terminal window on the right side of my desktop.

View 5 Replies View Related

General :: Passing An Array As Command Line Arguments?

Apr 2, 2011

how to pass an array as a command line argument in a shell script?

View 5 Replies View Related

General :: Passing Multiple Arguments In Shell Script?

Dec 11, 2010

The script receives multiple files as parameters and it is supposed to count the number of lines in each of them and write that number in another file.

This is my script:

Code:

while [ -n "$1" ]
do
lines=`cat $1 | wc -l`
echo "The number of lines in file $1 is $lines." >> lines.txt
shift
done

Is there any other way to do the same thing, without using shift?

View 7 Replies View Related

General :: Scripting - Try To Passing Arguments To For Cycle - Inside A Function

Apr 26, 2011

The code:

Quote:

Problem: I need a method to maintain the $i variable. In fact, actually, this variable get lost when executed. I think that an escape can preserve this variable and permit its execution inside the function, but I've no idea about.

View 3 Replies View Related

General :: Passing Commands As Arguments To Functions In Bash Script?

May 31, 2010

I wrote a simple bash script to let me treat any set of programs like a deamon. For example if I configure the script a certain way I can start/stop/get the status of apache, mysql and php all from one command. I am having a bit of a problem though. I am passing commands as strings to a function and then depending on the arguments to the script it might run one of these commands or another. Some of these commands need to beun in the background though, such as deluge-web. When I send "deluge-web &" to the function and it execute it deluge-web does not start in the background. I can't figure out why this is. I have tried escaping the & with ''s and with a , but nothing seems to work. I know that this is some idiotic thing that I am overlooking, but I am a bit stumped. Here is the script configured to start/stop/get status of deluged and deluge-web.

Code:
#!/bin/bash
function checkanddosomething {

[code]...

View 3 Replies View Related

General :: For Loop - Make Use Of Arguments Passed To Scripts Ranging From 2nd To Last

Feb 20, 2011

I am writing a scripts which involves for loop. I want to make use of arguments passed to scripts ranging from 2nd to last. I tried to use below

Quote:
kint `whoami`/root
for i in $2..$*
do
ssh root@$i "cd /local/0/home;mkdir -p $1/test"
done

I am trying to run it as below

Quote:
./scriptname webtech myserver1 myserver2 myserver3

and it gives following error Quote: ssh: myserver1..myserver2: name or service not known I basically want to pass arguments from myserver1 to myserver3 to the script.

View 7 Replies View Related







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