Ubuntu :: Bash Script "command Not Found" Error?
Mar 12, 2010
I am trying to write some new scripts for in my personal /bin/ folder, but I keep getting the following error-
Code:
billy@billy-laptop:~/bin$ encrypt
: command not foundrypt: line 2: clear
[code]....
View 4 Replies
ADVERTISEMENT
May 24, 2015
I have just installed Debian 8 with Gnome desktop and trying to add my username to sudoers list.
When I open terminal and enter visudo I get the following error message...
Code: Select allfracmo2000@debian:~$ su
Password:
root@debian:/home/fracmo2000# visudo
bash: visudo: command not found
root@debian:/home/fracmo2000#
Although I am quite new to debian, I have done this successfully in the past so not sure why this is happening?
View 7 Replies
View Related
Nov 6, 2010
I am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.
View 2 Replies
View Related
Jun 5, 2011
I got a problem with terminal, since i'm really a noob with terminal i don't know how to fix it.Everytime i type in a command it shows for example:
-bash: ls: command not found
Even the basic commands don't work... just cd <directory> and those things works
View 9 Replies
View Related
Apr 7, 2009
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:
>ln -s $PWD/g95-install/bin/i686-pc-linux-gnu-g95 /usr/bin/g95
Again I was able to verify that the link was created in /usr/bin. I also verified that /usr/bin was on my PATH using $PATH command.
View 7 Replies
View Related
Mar 10, 2011
tell me what does error message signify and what should be done to rectify it...bash : lex :command not found
View 3 Replies
View Related
Oct 23, 2010
I added $PATH=/usr/local/mysql to .bashrc_profile and I guess I wrote it in the wrong place...now when I log in my fedora the terminal says:
-bash: dircolors: command not found
-bash: cut: command not found
-bash: cut: command not found
[code]....
View 8 Replies
View Related
Feb 15, 2011
I was reading in one of my redhat books that this command would make linux rered the inittab file but whin I try it I get Bash: init: command not found.
View 3 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
Aug 26, 2010
Cannot create a group in RHEL5.
View 1 Replies
View Related
Dec 27, 2008
I did install a brand new debian etch on my server, update and upgrade has been done.I did installed a postfix and couple of tools ( like courier-* ).But when i want to try to sent a mail with mail command, it says command not found.I did use the method on the bottom of this thread succesfully, but any idea for this tool to be back on my server ?Did i uninstall it when installing a package ?
View 1 Replies
View Related
Feb 8, 2011
I am having redhat 5 linux machine running on my windwos x in vmware workstation. Today i was installing oracle software in redhat 5 after editing the bash profile for the oracle user i got the following messages
su - oracle
password:*****
-bash: [oracle: command not found
[code]....
View 10 Replies
View Related
Oct 18, 2010
i am using scientific linux, fedora 12accidentaly i changed LD_LIBRARY_PATH of the root profile to a different location. so terminal cannot understand any command as i type. is there any other ways to access .bashrc file exept using editors emacs, vi, nedit. my own profile works fine but i dont have permission to access the root folder. only commands the terminal responds to are pwd, cd, echo. i dont have any clue how to restore the library because it locates here:
[root@localhost ~]# echo $PATH
/usr/local/src/root/bin:
[root@localhost ~]# nedit .bashrc
[code]....
View 4 Replies
View Related
Sep 26, 2010
I followed this tutorial: [URL]
After this tutorial I did:
root@web1:~# /etc/init.d/snmpd restart Restarting network management services: snmpd.
As far as I think evrything went ok. I want to test my config with: snmpwalk localhost -c public -v1
I get this error: bash: snmpwalk: command not found
View 6 Replies
View Related
Jun 6, 2011
I'm not entirely sure how to describe this. I've got a user account set up and I've downloaded a few programs I'd like to install. When I'm in my account, I go to the terminal and type then get;
$ pkgtool
bash: pkgtool: command not found
However, if I'm in root and do the same thing, it brings up the menu. What do I have to do to get pkgtool to work from my user account?
View 4 Replies
View Related
Mar 20, 2010
when i type su command following error comes error is:"bash: __git_ps1: command not found". what is problem?
View 2 Replies
View Related
Jun 29, 2010
rpm -ivh httpd-2.0.59-1.i386.rpm
warning: httpd-2.0.59-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 751d7f27
error: Failed dependencies:
libapr-0.so.0 is needed by httpd-2.0.59-1.i386
libaprutil-0.so.0 is needed by httpd-2.0.59-1.i386
[code]...
View 3 Replies
View Related
Feb 22, 2010
Gcc seems to be installed by not configured maybe?Below are some command line resultsIs gcc installed, and if so, how do I configure it so it run properly.
rpm -qa | grep gcc
libgcc-4.1.2-44.el5
gcc-4.1.2-44.el5
[code]....
View 8 Replies
View Related
Apr 28, 2010
I am trying to use fdisk command as following but it gave me error . .
[root@rac2 ~]# fdisk
bash: fdisk: command not found
I am running on Oracle Enterprise Linux 32-bit
View 10 Replies
View Related
Jul 16, 2010
I have a new machine with LINUX Red Hat 5 installed. As I try to use command dos2unix I got:
Code:
-bash: dos2unix: command not found
How can I install this command?
View 8 Replies
View Related
Dec 9, 2009
I've been using linux for a long time, and I just ran into a problem that has me stumped. Any time I mistype a command, it says "Command not found."... yea, I know that's normal. But it doesn't return me to my # prompt. I have to press Ctrl+C to get back. code...
I know I do have one issue with this computer, I have 2 blown caps on my motherboard. This was a dual boot system, but after a virus with winblows, I decided to switch it to strictly linux. (roommates... *grumble*) I think I was running fc10 before I wiped the hd & installed fc12. Fc12 does seem to be running slower, and I still haven't got my sound card working properly... but that issue is for another topic...
-YungBlood Reborn
View 2 Replies
View Related
Jan 24, 2011
While attempting to uninstall Perl (through Yast) from my SUSE installation, it ended up deleted everything important in OS
compilers are gone, SVN gone.
Its a dedicated server and lots of other applications were running on it.
now it says "-bash: yast: command not found".
View 4 Replies
View Related
Aug 23, 2010
I am usually sshed into different boxes and i forgot what ip I am logged into sometimes. Is there a command I can type to give me the ip on the box I am on.
cat /etc/*release
CentOS release 5 (Final)
this failed
ifconfig | more
bash: ifconfig: command not found
View 3 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
May 10, 2015
I cannot find a bash command: "file" !
It say "-bash: file: command not found"
"file" is used to determine file type on a bash right ? is there a package i have to install ? deprecated ?
I use debian wheezy distro
View 2 Replies
View Related
May 3, 2011
I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found". I don't if I haven't successfully installed it, or I have installed it but just haven't put it into PATH yet. So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates? And if I haven't probably installed it, then can you tell me the how I can installed it? And I am asked to install apache mod_wsgi as well.
View 9 Replies
View Related
Mar 27, 2009
In trying to use the instructions here [URL] I get Quote: -bash: wget: command not found
View 2 Replies
View Related
Sep 13, 2010
I wonder if there is anyway to make a user-defined bash shell function global, meaning the function can be use in any bash shell scripts, interactively or not. This is what I attempted:
Code:
$ tail -n 3 /etc/bashrc
echotm () {
echo "[`date`] $@"
}
[code]....
View 11 Replies
View Related
Jan 10, 2010
I am a linux newbie, and recently started shell programming. whenever I use 'let' command it gives me an error 'command not found'. I am using ubuntu 9.10 with bash.
View 5 Replies
View Related
Jul 26, 2010
I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
View 4 Replies
View Related