General :: All Commands Exist In Cygwin?
Jan 25, 2011
I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.
View 4 Replies
ADVERTISEMENT
Apr 28, 2010
I made a script that contains repetitious commands (snmpget and awk are the only ones at the moment. Running these commands from standard terminal work, but when run within a script, I get:
./reg_sm_count: line 10: snmpget: command not found
./reg_sm_count: line 10: awk: command not found
./reg_sm_count: line 10: snmpget: command not found
[code]...
View 2 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
Jul 28, 2010
As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:
System1@system ~
$
MY DOUBT IS :
I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.
View 3 Replies
View Related
Apr 15, 2011
I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible
View 1 Replies
View Related
Mar 19, 2010
I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?
g++ - the version 4.4
graphviz
gnuplot
plotdrop
[Code].....
View 1 Replies
View Related
May 7, 2010
I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
View 7 Replies
View Related
Oct 14, 2010
New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:
Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2
Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.
View 14 Replies
View Related
Aug 16, 2010
I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.
make gives me an error saying:
make install works
make clean works
I am not able to compile but install works I do not know if it is installed and as to where it is installed
when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.
View 5 Replies
View Related
Jun 6, 2010
I have the binaries: perl-5.10.1-3.tar.bz2 and I don't have access (admin privileges) to run setup.exe for cygwin, my question is how can I install manually inside cygwin the module for perl: perl-5.10.1-3.tar.bz2?(or maybe can I get the sources and compile? can someone tell me please how?)
View 1 Replies
View Related
Oct 18, 2010
ould recommend for a console hex editor under windows/cygwin/linux?
View 3 Replies
View Related
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
View Related
May 21, 2010
I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?
View 2 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
Jan 21, 2010
I recently installed Cygwin on my windows vista to practice on Linuxunix commands.I am unable to do a simple task of declaring variables on the command prompt I am trying:
$ vech=Bus
$ echo $vech
bash: vech : command not found
What am I missing? Do i need to add something to .bashrc? Also, I remember right click on the shell command gives the ability to copy or paste text from the shell. I am using Bash, how do I copy n paste text on shell window?
View 4 Replies
View Related
Oct 13, 2010
I am very new to Linux. I want to work on GTK. As I came from VB background, I want to use Anjuta IDE to start my design. I installed CYGWIN. When I am trying to install anjuta , I am getting error saying GLIB and Unique1.0 not found :
[Code]...
View 3 Replies
View Related
Nov 22, 2010
I'm hoping that someone can help me, I need to remove spaces (not replace with underscores) from several thousand files on a system with cygwin.
Can I do this from the shell using rename or mv somehow?
View 4 Replies
View Related
Jul 13, 2011
I am running programs remotely but they are terribly slow. I'm on a windows machine which may be my first problem. I have killer ping and download speed so they should run fine. What can I do to resolve this.
View 2 Replies
View Related
Aug 4, 2009
I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).
I run the following command from a batch file:
Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.
The same command works perfect on another computer (XP machine; source and dest both on XP machine).
View 1 Replies
View Related
Oct 27, 2010
In my CentOS configuration, when I use vim6.3 to edit a file, then close it, and re-open it, my cursor starts out at the line where I last left off. In my cygwin (on Windows) configuration, when I use vim7.3, I don't get this behavior. The viminfo does exist and does seem to get read (because if I type '0 it will go to my last cursor location - but that is globally and could change the file being edited). I've also looked at the .viminfo file and see it getting updated as expected. In my .vimrc file, I have this:
Quote: set viminfo='100,<50,f1,"500,/100,:100
Note that on the CentOS side if I open foo, then I open bar, then I open foo again, my cursor is in the right place for foo, whereas on cygwin if I do this, my cursor would be at the 1st line of foo.. If I were to type '0, it would actually switch to editing bar and put the cursor where I last left off. Anyhow, this all boils down to asking how I get my cygwin vim to act like my CentOS vim.
View 3 Replies
View Related
Feb 23, 2011
I installed C ygwin (full installation) on my PC with WinXP on it.
Then I downloaded "SendIP" at: [URL].
/flin@JKPZV2X /cygdrive/d/software/sendip
$ rpm -ivh sendip-2.5-1.i386.rpm
error: Failed dependencies:
libc.so.6 is needed by sendip-2.5-1
libc.so.6(GLIBC_2.0) is needed by sendip-2.5-1
libc.so.6(GLIBC_2.1) is needed by sendip-2.5-1
libc.so.6(GLIBC_2.1.3) is needed by sendip-2.5-1
libc.so.6(GLIBC_2.3) is needed by sendip-2.5-1
libdl.so.2 is needed by sendip-2.5-1
libdl.so.2(GLIBC_2.0) is needed by sendip-2.5-1
libdl.so.2(GLIBC_2.1) is needed by sendip-2.5-1
libm.so.6 is needed by sendip-2.5-1
flin@JKPZV2X /cygdrive/d/software/send/
View 2 Replies
View Related
Apr 5, 2011
compiler problem (f77) which arises when I try to execute a bash script ("compile" see [1] below) running under Cygwin on WinXP. The script finds the correct file(s) but the compiler does not recognize them as fortran source files. If the script is executed sequentially from the command line then there is no problem.
The directory structure of flh971da contains two subdirectories flh971da/scripts and flh971da/source. The compile script [1] is shown (in part) below. The script changes directory to flh971da/source, and compiles source from subdirectories flh971da/source/n where n=a,b,c etc and places the object files in flh971da/source/nobj n=a,b,c... etc. The response to flh971da/scripts/compile script is given below [2]. It is clear that the compiler (f77) locates the correct source file [4] (flh971da/source/a/a00aaft.f) but does not recognize it as a fortran source file. All relevant files have been processed with d2u. I suspect the problem is with the script, but I have no idea how to fix it.
[Code]....
View 3 Replies
View Related
Sep 28, 2010
I have a compiled program, a tagger to identify parts of text, which claims it does not exist.This executable has to be called by a generated script, which is how I ran into this issue. What are the reasons this error could show up?The executable was copied from another machine.The file does have execution privileges (it gives a proper not-allowed message without them)I've tried copying the file to a different location (same problem)I've tried replacing the file with a fresh copy (same problem)The file does exist. Opening it with pico shows a file with binary data.
View 4 Replies
View Related
Mar 12, 2010
apt-get does not exist on my server: when i run this command: apt-get install php5-dev i get: Code: apt-get: command not found information: Plesk 9.3.0 | PHP Version 5.1.6 | CentOS release 5.4 | Linux 2.6.28.7 | GenuineIntel, Intel(R) Atom(TM) CPU 330 in usr/bin there's nothing called apt-get i have root access (SSH)
View 14 Replies
View Related
Jul 28, 2010
Code:
[Thu Jul 29 04:47:50 2010] [notice] mod_chroot: changed root to /var/www.
[Thu Jul 29 04:47:50 2010] [notice] Apache/2.2.15 (Debian) PHP/5.3.2-1 with Suhosin-Patch mod_chroot/0.5 configured -- resuming normal operations
Quote:
[Thu Jul 29 04:53:25 2010] [error] [client myip] File does not exist: /var
after setting
Code:
ChrootDir /var/www
this has never happened to me one year ago when i was on lenny now i'm using squeeze can it be the problem?(nevermind what i type in httpd.conf it always gives var error.)
View 7 Replies
View Related
Aug 6, 2011
I am trying to run Memtest86+ on my Linux computer. I use Grub 2, and Memtest86+'s core is located in /boot/memtest86plus/memtest.bin file.It seems to be pretty newbie error, but I can't find any documentation covering this problem.If I use linux16 instead of netbsd, computer just restarts without any error.
View 9 Replies
View Related
Jan 25, 2011
What is difference between BSD and Linux exist?when i want install bsd i see some details that exist in linux like partition type,swap partition and etc.if PC-BSD is free why in pcbsd.org it have price?what is good for desktop pc?
View 12 Replies
View Related
Jul 3, 2011
I want to copy a file from an old directory to a new directory and ideally I would like that the 'mv' command itself could create the directory for me in one step...That is to say that the directory would not exist until 'mv' has been called as in:Code:mv olddirectory/file.dat newdirectory/file.datso mv would create the directory 'newdirectory' in the above call....I am not sure if this is possible however, that is to say I think it may be necessary that the directory 'newdirectory' already exists before I make the above call to mv, as when I make try the above call when 'newdirectory' doesn't exist I get the following error:Quote:mv: cannot move `test1/4215/4215-001R.fit' to `test2/test.fit': No such file or directoryso to sum up, my question is:is there some paramater for 'mv' that I can change so that it will create the new directory as well as copy the file and if not, are there other commands that might do this?
View 3 Replies
View Related
Jul 11, 2011
c@c-laptop:~$ locate /.bashrc
/etc/skel/.bashrc
/home/c/.bashrc
/root/.bashrc
I need to edit /home/c/.bashrc
However when I go to place> Home folders to go to /home/c , the file is not there.
What should I do to make the file appear so that I can edit it?
It is obviously a system file.
View 14 Replies
View Related