Using "Cygwin" in windows for unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Using "Cygwin" in windows for unix
# 1  
Old 07-04-2007
Using "Cygwin" in windows for unix

hi all

Actually i am new in unix , and i am using "cygwin" software to practice unix, this is the software we can use in windows itself. some comands are working fine but some are not like "clear", also i want suggestion ,is it good to practice in " cygwin" or not

thank u in advance

sanjeev
# 2  
Old 07-04-2007
Quote:
some comands are working fine but some are not like "clear",
Which commands are not working ? If you don't do a complete install of cygiwn then this problem occurs. do a complete install. For help go to www.cygwin.com



Quote:
also i want suggestion ,is it good to practice in " cygwin" or not
If you don''t have a unix box to work on then there is no harm using cygwin.
kamitsin
# 3  
Old 07-04-2007
The "clear" command is not portable. Use "tput clear" instead.
# 4  
Old 05-10-2009
For CLI, yes; as an alternative to Windows, no.

For "clear" you need all the X11 Category packages. I had the same issue when I trashed them after XWin.exe kept running into errors, then about a week later I noticed it missing in the rxvt (that's a terminal emulator that, at least with Cygwin, can run with XWindows or without it) that I had kept after uninstalling the xorg-x11 stuff).

You can download them using the cygwin-setup.exe utility with which you installed the parts you have already. Or if it was a Net install, read up on how to add to your downloads by that method.

If you're undertaking to learn the command line, cygwin is, imo, a great place to start. If you're looking to use a Unix/Linux environment as an alternative OS to Windows, I don't recommend it. In the latter instance, if it's your machine and you don't mind setting aside 15 or 20 gigabytes of hard drive space, I strongly suggest something like Wubi, which is a way to get a full graphical Linux, with updates and the latest utilities etc, on a Windows machine without having to erase and partition your boot drive between the two systems.

Just a suggestion.

BZT

Last edited by SilversleevesX; 05-10-2009 at 07:55 AM.. Reason: ---
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Shell Programming and Scripting

Unix commands delete all files starting with "X" except "X" itself. HELP!!!!?

im a new student in programming and im stuck on this question so please please HELP ME. thanks. the question is this: enter a command to delete all files that have filenames starting with labtest, except labtest itself (delete all files startign with 'labtest' followed by one or more... (2 Replies)
Discussion started by: soccerball
2 Replies

5. Windows & DOS: Issues & Discussions

"Striping" the background of an Rxvt/Urxvt window in Cygwin

To get this: https://www.unix.com/members/silversleevesx-albums-incidental-shot-glass-picture127-termshot-rxvt-rootless.png out of Cygwin's rxvt, you have to tweak your /cygwin/etc/x11/app-defaults/rxvt file, which is here:... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

6. UNIX for Dummies Questions & Answers

A mechanism like "batch file of windows" in Unix

Hi all, Like in windows OS we have in unix something called "jobs"-term me if i am wrong- to run a sequence of steps which we can exceute at our own will without scheduling like corntab scheduling. can any one tell me what is the structure of this file and provide me with some info with this... (5 Replies)
Discussion started by: aixjadoo
5 Replies

7. Windows & DOS: Issues & Discussions

Unix "cut' and "awk" in Windows XP?

Hi, How can I execute Unix's ksh equivalent of "cut' and "awk" in Windows XP? For example, I want to execute ksh commands from Windows command prompt. Is there a place I can download "cut.exe" and "awk.exe" ? Thanks in advance (4 Replies)
Discussion started by: ihot
4 Replies

8. UNIX for Advanced & Expert Users

Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour

Hi, We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0. Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ? I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc. ... (1 Reply)
Discussion started by: sameerdes
1 Replies
Login or Register to Ask a Question