Ubuntu :: Why Does 'sudo Cd /root' Returns Error : "cd Commad Not Found"?
May 23, 2010
I use Ubuntu 10.04. With sudo command I can execute root users commands.But why the following command:
Code:
sudo cd /root
returns error: "sudo: cd: command not found"?
View 9 Replies
ADVERTISEMENT
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
Jul 30, 2010
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).
View 2 Replies
View Related
Oct 21, 2010
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?
View 2 Replies
View Related
Apr 8, 2011
I'm trying to add a password policy into OpenLDAP 2.4 on 10.04 and it's driving me out of my mind. I keep getting this error: root@www:/etc/ldap# sudo ldapadd -x -D cn=God,dc=example,dc=org -W -f ppolicy.ldif Enter LDAP Password: adding new entry "cn=default,ou=policies,dc=example,dc=org"ldap_add: Invalid syntax (21)additional info: objectClass: value #0 invalid per syntax
[Code]...
View 3 Replies
View Related
Nov 19, 2010
I'm trying to install the projectM visualizer and I'm running into some problems. Initially, I tried to install it by running "sudo apt-get install libvisual-projectm", which seemed to work... except there's no launcher for it in my Applications menu and "projectM-pulseaudio" returns "command not found". From there, I decided to try to build it myself, by following this guide (<- link). It went well until the "make" command, which returns the following error:
[Code]....
View 1 Replies
View Related
Aug 31, 2010
Code:$ host 80.159.xx.xxxHost 222.79.xxx.xxx.in-addr.arpa not found: 3(NXDOMAIN)What does this mean? The person currently using the IP address in IRC is chatting right now, but how come if he's online it doesn't return any information?
View 1 Replies
View Related
May 7, 2010
I have the following function, and it appears to set the var correctly, but then tries and executes the line as a command. Anyone know how to keep it from doing that?
PHP Code: SMALL_FILE_PERCENTAGE=88
MEDIUM_FILE_PERCENTAGE=10
LARGE_FILE_PERCENTAGE=2
[code]....
View 1 Replies
View Related
Mar 1, 2011
I installed 10.04 (clean install) on a 250G drive (partitioned to 107G for the system files). It was working fine, until I wanted to install Window$ for the use of Adobe stuff. I popped the Windows XP disc in, it loaded its files, then I tried to choose a partition for installation. There was an error saying that I can't do that, and needed to delete a partition blah blah. I thought it was too much trouble, so I quit and just wanted to use my 10.04. Booted, and it says "Error booting operating system" I WAS SHOCKED.
I tried to install grub (but don't need that right? I DO NOT want to dual boot now), but the usual method ( the sudo grub; root (hd0.0)...) doesn't work ,because something like "stage1" is missing. I tried many methods by still the same error. The reason I do not want a clean install is that I did many fixes on my 10.04 so that it would work with my EeePC 1001pxd, and I do not want to go through that again. I will be checking my email frequently on other computers if I have a chance.
View 1 Replies
View Related
Jul 25, 2011
can't cd to root acount /home in terminal - sudo cd /root fails?
View 3 Replies
View Related
May 7, 2010
I have a Feadora 12 Live CD. It booted up fine on my 700 Mhz computer. I've since then put a new HDD in with which I intended to install Fedora on. But now i get this message
Quote:
No root device found. Boot has failed, sleeping forever
What does this mean? How do get the Live CD to boot?
View 1 Replies
View Related
Aug 10, 2011
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies
View Related
Apr 9, 2010
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
View 1 Replies
View Related
Jan 2, 2011
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
Code:
ldd /usr/bin/passwd
and
[code]....
View 4 Replies
View Related
Mar 21, 2011
I'm working with OpenSusse 11.2. I installed and activated the NFS server via yast2. I exported the relevant directory via yast2 (NFS server configurastion)
I'm trying to setup my Linux target to boot via NFS. The kernel boots up but fails to mount the file system. When looking on a capture from ethereal it can be found that the NFS server return error when client try to mount the /nfstest directory from this server. The returned error is 13
serverip: 192.168.56.130
targetip: 192.168.20.180
gateway: 192.168.20.101
[Code].....
View 1 Replies
View Related
Oct 26, 2010
What I'm tring to do is control volume using button 6 and 7 of my mouse (the left & right button of the mouse wheel)I use compiz to toggle command using mouse button.I tried amixer,aumix but none of them work What is the command for volume control?Are there other ways to control volume using mouse?
View 1 Replies
View Related
Jun 6, 2010
I mis-clicked and now my monitor resolution is WAY too high. I could fix that by re-clicking, but the menu to bring up the screen I need to click is off-screen.By blind clicking I got a command line window. Can anybody tell me the command line to bring up the system preference for monitor resolution?
View 2 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Feb 17, 2010
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
--- Hash table keys for warning below:
--> xxx
--> root
--> inode/directory
--> l2050
--> l2049
--> staff
--> xxx
(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
View 4 Replies
View Related
Feb 25, 2011
I just installed node.js and it is located at /home/apantev/local/node/bin . So I added the follow to my ~/.bashrc
Code:
export PATH=/home/apantev/local/node/bin:$PATH
And this works fine if I use node normally for instance
Code:
node -v
[Code]....
View 7 Replies
View Related
Apr 3, 2011
First I installed ubuntu on a separate hard drive and ran that as primary hard drive. Then I opened terminal and entered:
sudo fdisk -l
The errored hard drive was sdb1. I then entered:
sudo fsck /dev/sdb1
There were questions I answered yes to then, after swapping drives, I booted normally. Everything was normal except I have to choose a different version of ubuntu at startup. I haven't had any problems so far but this was just an hour ago.
View 2 Replies
View Related
Aug 10, 2011
'' 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
View 4 Replies
View Related
May 10, 2011
I'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response
View 6 Replies
View Related
May 13, 2011
Running start_navicat script in kubuntu 11.04 returns bash error ./start_navicat: 10: arithmetic expression: expecting EOF: "2*100+13 2". The same navicat version runs fine in ubuntu 10.10 and 10.04. I tried deleting navicat folders - including hidden folders and reinstalling, but get the same error.Can't test ubuntu 11.04 because i can't get it running (black screen - even grub). xubuntu 11.04 is very unstable too. kubuntu 11.04 is very stable otherwise.no idea what to do, other than continue using ubuntu 10.10 (which is the best ubuntu version to date imho)
View 5 Replies
View Related
Mar 11, 2011
I am unable to run firefox on my Hp mini 110 running FC14. This happened, I think, after an update that I have done.
When ever I run firefox I get the following messages.
Code:
View 5 Replies
View Related
May 9, 2011
I am using Fedora 14 (64 bit version): Can't Start XAWTV. Returns the error.
$ xawtv
This is xawtv-3.99.rc6, running on Linux/x86_64 (2.6.35.12-90.fc14.x86_64)
xinerama 0: 1920x1080+0+0
WARNING: No DGA direct video mode for this display.
WARNING: keeping fbuf pitch at: 7680, as no base addr was detected
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Oops: can't load any font
View 1 Replies
View Related
Feb 26, 2010
I have a service on my Suse 11 server which runs an ssh command (using openSSH) on another box.The output below is returned, but legitimate output is also returned as if the command had executed successfully. For example, the service executes an ls command through ssh, gets the error below, but also the contents of the remote directory as output. This is a problem because the service retries the command until it receives no error. I have been unable to replicate this manually from the command line. Does anyone know what might cause this or what this error really means?
View 5 Replies
View Related
Jul 21, 2010
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?
View 2 Replies
View Related
Aug 21, 2010
when i type this command
sudo /usr/sbin/initmodem.sh
the output is
sudo: usb_modeswitch: command not found
I am trying to install BSNL capitel modem in Ubuntu 10.04.
View 2 Replies
View Related
Jan 4, 2011
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.
View 9 Replies
View Related