I try to run a command located in /sbin or /usr/sbin using sudo, like "sudo ifconfig" or "sudo tail -f /var/log/messages", it comes back with "command not found". If I perform a "sudo -i" and drop to a root shell that way, the commands work fine. My sudoers file is as follows:
I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought. Now at the shell prompt when I type in any sudo command it says: "sudo command not found" Is there an alternate command I can use in this situation.
When trying to open nautilus as root, I get the following message:
xxx@xxx-desktop:~$ sudo nautillus [sudo] password for xxx: sudo: nautilus: command not found xxx@xxx-desktop:~$ sudo nautilus (nautilus:3917): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 'preferences_is_initialized ()' failed Initializing nautilus-gdu extension
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'UploadFinished' ** (nautilus:3917): WARNING **: No marshaller for signature of signal 'DownloadFinished' ** (nautilus:3917): WARNING **: No marshaller for signature of signal 'ShareCreateError' Initializing nautilus-clamscan extension Fontconfig error: Cannot load default config file ** (nautilus:3917): WARNING **: Could not inhibit power management: The name org.gnome.SessionManager was not provided by any .service files
(nautilus:3917): Eel-WARNING **: "unique eel_ref_str" hash table still has 7 elements at quit time (keys above) (nautilus:3917): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 12 elements at quit time Shutting down nautilus-gdu extension
'' Ubuntu 11.04'' I have used G-parted to make some free space for my windows partition '' 100 GB. But before windows is installed the Grub loader is already broken . So i decided to restore the GRUB in the live CD en start with sudo grub and i get this:
sudo grub sudo: grub: command not found sudo /sbin/grub sudo: /sbin/grub: command not found
I am trying to install postgres using the one click installer from [URL]. I downloaded the file into Downloads and ls shows me the file. When I enter the command "sudo ./postgresplus-8.4.1-2-linux-x64.bin", I get "sudo: ./postgresplus-8.4.1-2-linux-x64.bin: command not found". What am I doing wrong?
I've been trying to add (via terminal) a ppa:<name> from this site (finally got around to getting a Wacom Bamboo), but every time I try to do as it suggests, I get the following error:
Code:
$ sudo add-apt-repository ppa:hughescih/ppa sudo: add-apt-repository: command not found
I found I already had this installed, but to double-check,I've uninstalled and re-installed it to make sure, and still to no avail. I wasn't sure if I'm still missing something or what the deal may be.
so i was removing softwares using ubuntu software center.. games i don't play and cheese webcam booth because it was not working, i intended to re-install it. after my installation, half my icons (i have extensively personalized my desktop) changed to defaults. The themes page said 'theme will not be as it appears because default.kde is not installed'. i did not remove any such package. just games. and furthermore, i installed a kubuntu plasma desktop system which i read in a thread contains the file default.kde but that hasn't helped and i still don't know what do to..
trying to get wine working was reading the tutorial-
"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-
"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:
I have a guy in my office who was using an old version of ubuntu and he tried upgrading to 10 but now he's getting grub error 17. I Google this and everyone suggests reinstalling grub starting with opening a shell and typing 'sudo grub'.
However, I get 'command not found' in response to that. I've tried looking for the location of grub so I could try 'sudo /sbin/grub' and such, but I don't see it anywhere.
Also, I'm using a version 9.10 Live CD at the moment because I can't find out how to disable the drmraid option on the version 10 CD (necessary to detect the hard drives which, although they are on a raid controller are not configured as an array but separate drives).
I am looking for gcc installation in CentOS 5.4. I cannot use yum install since not connected to internet. I tried to do sudo apt-get install build-essential but received the following error: sudo: apt-get: command not found How to install gcc in my Linix machine?
I had edited the bashsr file wrongly in my ubuntu while trying to put a "export" command in bashsr for javac. Next when i am writing sudo , its saying : Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found
I recently switched back to ubuntu after a year of gaming on w7, however I think that this time I'm going to stick to ubuntu, if she doesnt screw me like she has the previous times. Anyways, I was just wondering what media players you guys favor, and why? (maybe there doesn't have to be a reason xD), and I tried to install beep media player with: sudo aptitude install beep-media-player And the return is: sudo: aptitude: command not found
I would like to have an user that can execute al command with sudo.I configured sudo with yast2 and in the sudoers file actually there is a line with:USER ALL = (ALL) ALLWhere user is my username.But I can't use some command like ifconfig becouse it say that it can't find the command. I think that this is becouse of path, but shouldn't i get root path using sudo?
How do you setup the sudo command so that it will insult the user if they enter the wrong password? I know it sounds kind of random, but I found that it was an option while looking up something else. I tried adding "Defaults insults" using visudo, and commenting out "Defaults targetpw" and "ALL ALL=(ALL) ALL", and adding my username as "blank888 ALL=(ALL) ALL" but I still can't get it to work right.
Alright setting up a friends netbook, display has been a little iffy (slow. glxgears is giving like 100fps). Couple issues: xorg.conf doesn't exist (i know thats typically not an issue) and "sudo xorg -configure" and "sudo xorg --configure" both return "xorg command not found."
glxinfo say that its using Mesa for the software rasterizer and that the driver is from mesa. lspci says the VGA controller is from Intel. I'm thinking xorg is defaulting to vesa for drivers, but I need to know how to change that to the open source intel driver
I am having problems installing fortran g95 compiler. I followed the exact instructions listed on the website The G95 Project (click on manual tab for further details), but I am still getting this error when I try using the driver:
shamo@linux-wrws:~> g95 bash: g95: command not found
Here is what I did:
>wget -O - http://ftp.g95.org/g95-x86-linux.tgz | tar xvfz -
The program installed properly, and I was able to verify the installation in /usr/share/g95-install. All the libraries were installed, and I was able to run the actual "executable" when I cd'ed to its directory) Next I created a symbolic link to the driver so that I could run from anywhere using g95 command:
I got this message "f77:command not found",while I was installing a program on linux 10.3. I installed perl-ExtUtils-F77 ,but still I've got that message.
I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.
Maybe it's just the program i downloaded and maybe something's missing, but when I run ./configure I get the error: ./configure: line 4: ruby: command not found it told me to try cnf configure and it says no such file Is this me, suse or the program I downloaded? Something's wrong here.. Maybe ruby needs installed?
I am running SUSE 10.2 under z/VM 540 and have java working fine. I also have IBM EKM software running fine(if I execuute the script manually).I am trying to start this software automatically following the boot process. I have tried creating a member /etc/init.d/after.local but it does not seem to know where java is./etc/init.d/after.local: line 2: java: command not found"" After I login to any user I can get java -version to work, so my classpath is good.
LINUXEKM:/ # java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxz64dev-20091106a (SR11 ))