General :: Cygwin - Myscript Command Not Found
Nov 8, 2009
But I just downloaded cygwin to my xp machine. Tried my first experimental script and created it one level directly below where cygwin put me by default. The script, named show two says:
#!/bin/bash
echo $1
echo $2
But bash apparently can't find it. The name of the script is showtwo, but I also tried naming it showtwo.sh; no dice.
View 8 Replies
ADVERTISEMENT
Feb 7, 2011
I just recently installed Ubuntu for our server, and I had a question about using tcsh. I'm trying to run a script of commands and the first line of my script is: Quote: #! /bin/tcsh -f I chmod +x my script, but when I type the name of my script at the command line i get this message: Quote: myscript: Command not found. the only way my script will work is if I type: Quote: tcsh myscript
Only then, will myscript execute its set of commands. I would like to be able to type the name of scripts without having to type tcsh at the beginning, each time. Is there a way to do that?
View 5 Replies
View Related
May 13, 2009
I have installed cygwin to my windows xp machine. I typed the commmand in cygwin shell it shows "command not found". How can i install make command in cygwin
View 2 Replies
View Related
Jan 21, 2010
Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.
I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.
View 2 Replies
View Related
Apr 17, 2010
i created a script file named myscript.shi ran this by typing sh myscript.sh and i got my outputbut,when i tried to execute by typing ./myscript.sh i received permission denied errori gave permission as chmod 777 myscript.shthen i executed by typing ./myscript.sh . It worked fineso i wanted to know whether using sh and ./ with permissions are same.. ?or did it work for only this.. are there any differences
View 1 Replies
View Related
May 17, 2009
I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.
I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.
I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).
View 1 Replies
View Related
Oct 4, 2010
I have installed cygwin 1.7.5. But the command "file" (check the type of a file) is missing. I tried to re-install, but could not find it on installation program. Where is it?
View 2 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
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
May 27, 2010
I have a Cygwin script that connects to a web site with the bash command "curl". Phasing out Windows, I need to port everything to Linux. Ubuntu bash doesn't recognize "curl". There has got to be an equivalent.What would it be? Beneath the dashed line the top of the cygwin man page. And while on the topic of the bash commands available on Ubuntu, where could I find an exhaustive list?
[Code]...
View 3 Replies
View Related
Feb 23, 2010
I am doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.
make: arm-linux-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
code....
View 4 Replies
View Related
Oct 1, 2010
I installed a program with Yast (Kmess), but when I try to run it, bash gives me back this message:
Code: kmess: command not found I checked into Yast and it seems to be installed correctly!
View 9 Replies
View Related
Jun 24, 2010
I have a simple script. When I run it as cron job. I jot email saying:/bin/sh: line 1: test.tmp: command not found.Even I took first line out, I got the same error.The current shell I have is /bin/tcsh.
View 4 Replies
View Related
May 8, 2010
I occurred a really weired problem, which is touch : command not found.I was going to create a blank file, so I type the touch command which didn't work.I'm running centOS 5.
BTW: the vi command also not found.
View 3 Replies
View Related
Apr 23, 2011
I am trying to build a Makefie, i am getting an error. /bin/sh: line 4: autoheader: command not found.
View 1 Replies
View Related
Feb 15, 2010
i was trying to install windows xp on vbox, but the cd wont work, so i want to make an iso image from the cd and run it from that. after some research, i found this code to use disk dump and make a raw cd image:
Code:
dd if=/dev/cdrom of=~/cdrom_image.iso
ive done that successfully (making sure the drive is unmounted), but i cant even find the file now. ive searched the filesystem, but it doesnt appear anywhere.
View 1 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
Aug 8, 2010
Using fedora, when I try "ftp" I get command not found. I have tried "which ftp" and and get "no ftp in" then the bin dir's. I have tried the "locate ftp" but also can't see it: I see lftp, but never heard of it before, is this new and replaced ftp.
Code:
locate ftp
/etc/lftp.conf
/etc/selinux/targeted/modules/active/modules/ftp.pp
/etc/selinux/targeted/modules/active/modules/tftp.pp
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/ipv4/netfilter/nf_nat_ftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/ipv4/netfilter/nf_nat_tftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/netfilter/nf_conntrack_ftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/netfilter/nf_conntrack_tftp.ko
/lib/modules/2.6.33.3-85.fc13.i686/kernel/net/netfilter/ipvs/ip_vs_ftp.ko
/lib/security/pam_ftp.so .....
View 5 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 8, 2011
I want to run java -jar command and I have the following :command not foundWhat I need to do?
View 13 Replies
View Related
Mar 5, 2011
The tgrep commands not working in my terminal at the moment and I was told by someone the following."It's not a standard command. I suspect the source needs to be recompiled for the current platform. Can you find the source files and compile them in your home dir?" I can't get into touch with that someone at the moment so could anyone explain what exactly that means and how I get tgrep working.
View 7 Replies
View Related
May 25, 2010
when i see /usr/bin there is no useradd command. and i want to add a user.if i type the command it is shooting an error saying command nt found .how should i create a user.
View 3 Replies
View Related
Aug 25, 2010
I am Using Fedora 13 on My acer aspire laptop. I want to connect to internet through my bluetooth Mobile(Airtel) When I type wvdial at the command prompt, I recieve a message as "Command Not found". I even created a script with name wvdial.conf in /etc. Method to connect to internet through Mobile Bluetooth.
View 8 Replies
View Related
Oct 26, 2010
I did a yum install libxml2 then later had to do a yum remove libxml2
on my rhel5.5 machine. During the course I answered 'y' to one of the questions asked, which may have lead to the problem I'm about to describe - I don't know because I can't reproduce the problem at the moment.
After doing the 'yum remove libxml2', which seemed to complete successfully, I tried to do a 'yum search <some other package>' and a 'yum install <some other package>' - both commands failed. The error message I get is
[root@server etc]# yum search libxml2
bash: yum: command not found
[root@server etc]# which yum
/usr/bin/which: no yum in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin)
I'm afraid during the 'yum remove libxml2' I must have removed some essential system libraries and applications, including yum.
View 2 Replies
View Related
Aug 26, 2010
Cannot create a group in RHEL5.
View 1 Replies
View Related
Aug 20, 2011
HP Mini 210Fedora 15 Latest updatesGnome 3.0.1In the terminal when I do the following:nm-connection-editorI get the following:command not foundWhere is the nm-connection-editor?
View 1 Replies
View Related
Aug 29, 2011
I have installed Jre in my CentOS by following instruction here InstallationBut the problem is each directory or file contains the "*" (asterisk) at the end offile name or directory even though i have fired following command chmod a+x or chmod +xso please tell me how can i execute the executable file because when i am trying to run "java" its showing me following error
View 1 Replies
View Related
Aug 21, 2010
I'm trying to recompile my linux kernel -2.6.32.5 version in Centos OS platform and when I type these commands:
Quote:
depmod 2.6.30.5-fogonacaixadagua
Quote:
mkinitrd -v /boot/initrd-2.6.30.5-fogonacaixadagua.img 2.6.30.5-fogonacaixadagua
This is the link of the Guide that I'm trying to follow:
Quote:
[URL]
is there any packages in order for me use depmod and mkinitrd?or download it using yum?
View 6 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