Fedora :: Command For Overwrite Menu.lst?

Mar 6, 2011

I've modified by mistake my menu.lst file. Both menu.lst and grub.conf are empty. how to fix this? Is there any command to quickly rewrite those files?

View 2 Replies


ADVERTISEMENT

General :: Command To Overwrite A Directory?

Jan 18, 2010

there's a command to overwrite a directory.

View 6 Replies View Related

General :: Command To Overwrite File With Sed Output?

Jan 5, 2010

For example I want a file to be processed by sed, and then overwrite the file with sed's output. I would try this:
Code:
sed '<regex goes here>' myfile > myfile
But it doesn't work as expected, instead it empties the file (I am thinking that as the first byte comes out of sed, it overwrites the whole file and sed has nothing more to do). How can I make this work?

View 14 Replies View Related

General :: Unzip Command: Option To Force Overwrite?

Jan 26, 2010

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y

This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.

View 1 Replies View Related

Fedora :: Open With Menu Custom Command?

Aug 10, 2011

ing Fedora 15 x86 with gnome 3.Here is the problem with "open with" menu.I cant indicate custom command. here is screenshot:

View 3 Replies View Related

General :: Suppress "Do You Want To Overwrite" Prompt While Using Cp Command?

Feb 27, 2010

How to suppress "Do you want to overwrite" prompt while using cp command. I tried "cp -fr", but it isn't worked

View 4 Replies View Related

Fedora :: RPM That Can Install Somewhere Which Won't Overwrite Current 3.5 Installation?

Jan 21, 2010

It looks like firefox 3.6 was released today - fantastic, except for those of us who develop/test websites (yeah, usually FF is pretty stable between versions, but still...). I'd like to be able to install 3.6 under F12 alongside my current FF 3.5 , running under separate profiles (preferably with a 64-bit build). Is my only option to download it from mozilla.org, and just install it under /opt/ or somesuch place? Is there an RPM that I can install somewhere which won't overwrite my current 3.5 installation?

View 1 Replies View Related

General :: Bootloader Will Overwrite - Fedora 13 With Windows 7

Aug 24, 2010

I have problem with bootloader , mean to say , after installing fedora 13 my windows 7 bootloader will overwrite, and when i install windows7 boot loader my fedora 13 bootloader will overwrite vice versa

View 7 Replies View Related

Fedora :: Make Mkdir Silently Overwrite Any Existent Directory?

Feb 19, 2010

I am working on a bash script which among its operations creates directories using the mkdir command. However, when the directory already exists mkdir mentions that in the command line output.

Is there any way I can make mkdir silently overwrite any existent directory? (no messages in the output). For the same price, could it be done with other commands such as cp or mv?

View 3 Replies View Related

Fedora :: GRUB :: Menu.lst :: GRUB Starts In Command Line?

Dec 1, 2010

Code:

grub-install -v
grub-install (GNU GRUB 0.97)

I loaded GRUB, and now when I reboot it goes straight into the 'grub>' command line. Initially GRUB had the root as (hd0,2), whereas the boot is on (hd0,1)...(hd0,2) is my '/home' partition, and (hd0,1) is my '/' partition... So on a bootup I ran...

Code:

root (hd0,1)
setup (hd0)

Now when I boot I still get the 'grub>' command line, but now the root is correct.

From 'grub>' I can type...

Code:

grub> configfile /boot/grub/menu.lst

GRUB will then show the menu, and I can click the listings to load them. All's fine, but why doesn't GRUB just load the menu.lst without my prompting? How can I automate this process of typing 'configfile /boot/grub/menu.lst' each time I boot?

View 1 Replies View Related

Fedora :: Add/delete Modify The Menu System On The Menu Bar?

Mar 20, 2011

How do I add/delete modify the menu system on the Fedora Menu Bar, i.e. If I want to add a custom menu to the "Applications/Office" menu how do I do it?

Fedora Core 14 On Gnome 2.32.0
(Linux xxxxx 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux)

View 4 Replies View Related

Red Hat / Fedora :: Cant Find Preferences Menu In The Settings Menu?

Oct 8, 2009

Iam pretty new to Linux.I installed fedora 10 on my pc recently.I wanted to add a program to the startup menu but I cant find Preferences menu in the Settings menu. Iam writing to this form after a lot of googling.Hope I can find some answer here

View 2 Replies View Related

Ubuntu :: Can't Start AVG From Any Menu Or Command

Feb 6, 2010

I just installed avg85flx-r732-a3168.i386.deb, but I can't start AVG from any menu or command. (Not even in System Menu). So, how can I start it?

View 5 Replies View Related

Ubuntu :: Add A System Command To The Menu?

May 15, 2011

I,m using Fluxbox and I would like to add a system command to the menu,

Code:
du -h --max=1 | sort -h

I have it partly configured but when I start it, it runs for about 2 seconds then the term disappears you dont get time to see output is there some way to keep it open till I close it or stay open longer? Top is configured and that stays open.

View 1 Replies View Related

Ubuntu :: Way To Add 'run As Root' Command To Right Click Menu?

May 7, 2010

is there a way to add a 'run as root' command to the right click menu? so i could right click on a launcher, or a file in /usr/bin(or some other no editing folder) and easily run as root?

View 5 Replies View Related

Ubuntu :: Run Sessions Menu From Command Line?

Jul 8, 2010

I want to find a way to bring up the session menu without using the Indicator Applet Session in the default gnome panel. I've figured out how to do this for the main menu with a keyboard shortcut (Alt+F1). And I found Ubuntu documentation here that says Super+Esc will bring up the Sessions Menu in Lucid but it doesn't work for me. I could create a custom launcher if I knew what command would bring up this menu but I can't find any info on this. Basically I want to get rid of the default gnome panel but still have the functionality of the Sessions Menu.Note: I removed the Me Menu from my Indicator Applet Session by running sudo apt-get remove indicator-me in a terminal. Would this be interfering with the keyboard shortcut?

View 2 Replies View Related

Ubuntu :: Which Command Runs When Change Something In A GUI Menu

May 13, 2011

I explain in with an example:

Imagine you want to know which command is carried out when, after executing gnome-mouse-properties, you go to the Touchpad tab and click on "Enable mouse clicks with touchpad".

Another example:

Imagine you want to know the command that is executed when, after running gnome-appearance-properties, you go to the "Visual Effects" tab and click on None.

I've had a look via gnome-system-log in all the log files of the left with no success. Perhaps the commands that run when one changes things in the GUI menus are logged in some other file. Or perhaps they are not stored in any log. In this case there is probably some terminal command to know it, or some program for this.

I think that know that no xorg.conf is used by default this is something to have into account.

View 3 Replies View Related

Software :: Can't See In Kde Menu Or In Command Prompt (wireshark)?

May 20, 2010

I have fc12.x86_64, installed wireshark yum install wireshark.x86_64 and wireshark.i686but can't see in kde menu or in command prompt (wireshark) but can see dir whereis wiresharkwireshark: /usr/lib64/wireshark /usr/share/wiresharkAny help/url to install and run in fc12 kde environment

View 4 Replies View Related

Ubuntu :: Main Menu Keyboard Shortcut Command?

Sep 10, 2010

I would like to use the keyboard shortcut of <Super>Tab to open the main applications menu.

What is the command for opening the main applications menu? I have searched but cannot find it.

View 2 Replies View Related

Ubuntu :: Open Main Menu From The Command Line?

Oct 20, 2010

I was wondering, is it possible to open Ubuntu's main menu from the command line? I've been searching for the answer for about 30 min's now but no luck.

View 3 Replies View Related

Ubuntu :: Creating Custom Command/menu Launcher?

Sep 20, 2010

I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes the webcams work perfectly. What I wanted to do was to integrate this command into the main menu so that I won't have to type it into the terminal (and thus keep the terminal open all the session) every time I want to use Skype. So I edited the command of the Skype button in the Applications menu and put that line instead of "skype", but it gives me "Failed to execute child process "export" (No such file or directory)". I tried editing .bashrc and added the following line:

alias skp='export XLIB_SKIP_ARGB_VISUALS=1 && skype'

Now the command 'skp' works through the terminal, but it gives me the same error message when I put it into the command line of the applications menu.

View 6 Replies View Related

Debian Multimedia :: Proper Suspend Command From The OpenBox Menu?

Dec 1, 2010

Running Debian Squeeze and OpenBox. I added the command: "gdm-control --suspend" to my OBmenu but nothing happens. When I run the command from the terminal, also, nothing happens. Yes, I did actually Google. Anyway, proper suspend command from the OpenBox menu?

View 14 Replies View Related

OpenSUSE :: Invoking The Gnome Start Menu From The Command Line?

Jun 28, 2010

I'm wanting to be able to run the Open Suse start menu from the command line.king remotely, I have found that I have faster response time by only running specific X components instead of an entire desktop (particularly useful under Windows 7 Cygwin). Specifically, I'd like to invoke the start menu from a ssh command line.On Linux Mint,line command is:mintmenuWhat is the equivalent command to bring up the Slab Start Menu on Open Suse?

View 8 Replies View Related

Debian Multimedia :: Removing Custom Command Added To Context Menu

Jul 11, 2015

I was trying to run a jar file, so after using the "Open With..." context option to bring up "Choose Application", and I opened the "Custom Command Line" tab; I typed "java %f" and set Application name..My problem is that, I was left with an option in the File Properties "Open with:" drop-down box, and more annoyingly, a context menu option above "Open With..." to run .jar files with this useless option I created.

View 2 Replies View Related

General :: Adding Run Command To Avant Navigation Bar And To Gnome Main Menu?

Mar 4, 2010

I have been playing around with Avant Navigator Bar and Gnome Menu Bar and was wondering how to add the run command to these items?

View 4 Replies View Related

General :: Cp + Not Want To Overwrite Permissions?

May 26, 2011

How to use cp command without to overwrite target file permissionsFor examplecp /tmp/file /home/fileI dont want to change chown and chgrp on /home/file

View 2 Replies View Related

Debian :: Check That A Deb Will Not Overwrite Anything?

Feb 25, 2011

I have this deb from a package in unstable...

It calls for libhdf5-openmpi, which is not compatible with libhdf5-serial which in turn is used by several packages that i have installed...

It's either the serial or the openmpi version... not both.

Since this specific package from sid calls for this dependence, which way do i have to check that if i override dependency checking it wont overwrite anything along the way...?

All other dependencies can be met... except this particular one...

And i wont be using the functionality that calls for openmpi...

View 7 Replies View Related

General :: Why 'cannot Overwrite Existing File'

Mar 8, 2011

I try to write to a file "date > file" but Linux says 'cannot overwrite existing file'. I tried chmod 755 but still cannot write to the file. What should I do?

View 2 Replies View Related

Ubuntu :: Secure Overwrite Of A Partition?

Jul 9, 2011

i have a duel boot of windows and ubuntu, but recently i got a virus, but this things is leach like in appearance. I tried reinstalling windows, then reformatting the drive and reinstalling windows but i still have this same virus? This is dead creepy for me because windows cant read any of the other partitions, which are all formatted for linux, in formats which windows does not have the capability to read. So i dont understand how this could have happened. There are many things that i am still to try -- including completely overwriting the MBR with a GRUB in case the virus somehow resides in there?? But i have decided to give up on windows from now, because, despite all the actions i have taken, it has failed me repeatedly. But having had these viruses 3 times, i have noticed something, the first time i had a virus was my fault, because i left my computer insecure.

After i formatted my HDD following that virus, i noticed i had 10gb of space robbed from me, disk utility believed i had a 160gb drive, but Gparted and everything else told me that i only had 149.7gb of space??? now after this virus - which logically couldn't have happened without someone directly attempting to tunnel my computer as i had so much extra security - i lost 6gb of space from my HDD?? Sounds odd?

THE QUERY: So i want to know if (from ubuntu) it is possible to do a secure format (similar to with a mac - were it completely overwrites everything, instead of just deleting the links) although, possibly i am not going back to windows, ever.

View 9 Replies View Related

Ubuntu :: Why Does Aptitude Overwrite /etc/sudoers

Jul 23, 2011

I've been trying for a long while to figure out why aptitude overwrites /etc/sudoers ? Each time I run

$ sudo aptitude safe-upgrade

my /etc/sudoers is reset. This is really annoying because I have it setup so that mythtv can shutdown and restart automatically. The line in /etc/sudoers that gets deleted is:

%mythtv ALL = NOPASSWD: /usr/bin/mythshutdown, /bin/sh, /usr/bin/setwakeup.sh, /
sbin/reboot, /sbin/shutdown

When the line is missing my Ubuntu 10.04 does not shut down at all because of missing rights to do so. Does anyone have a clue why this is happening? I thought /etc-files were sacred for others than root, but it seems I'm wrong. Of course I have edited sudoers with visudo.

View 5 Replies View Related







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