Sponsored Content
Top Forums Shell Programming and Scripting Clear Screen Command for BASH shell Post 302388896 by erora on Thursday 21st of January 2010 09:37:41 PM
Old 01-21-2010
Nope, Clear is not recognized. I get command not found error.
I thought maybe I missed a package while installing Cygwin. Please help

---------- Post updated at 09:37 PM ---------- Previous update was at 07:54 PM ----------

Installing ncurses package from Cygwin.com worked for me!!!
This User Gave Thanks to erora For This Post:
 

10 More Discussions You Might Find Interesting

1. Programming

How to clear screen

I searched the post and someone said to clear the screen in C, use printf("\033[2J"); ?? However, this doesn't work...typo or no. What is an equivalent command to 'CLS' in DOS/'clear' in UNIX to clear the screen and go to top of screen?? Thank you. (2 Replies)
Discussion started by: giannicello
2 Replies

2. Programming

clear screen

what is the syntax for clearing the screen in c ? when i tried "Clrscr()" the CC complier does not reconise it. please do tell me more about this. thanking you imma (6 Replies)
Discussion started by: immanuelgangte
6 Replies

3. Programming

clear screen in g++

How do I clear screen in g++ I've included curses and tried compile with lcurses as per gcc but fails, I can clear by using system("clear") but would prefer to use the curses library if possible. (2 Replies)
Discussion started by: gefa
2 Replies

4. Shell Programming and Scripting

Clear screen in NAWK

Hello guys, I wonder if it is possible to clear out the screen in AWK. I'm printing out mail messages and I would like every message starting on the beginning of the screen. When I use FOR loop and printf("\n") it clears out the screen but my text is somewhere in the middle of the screen. ... (2 Replies)
Discussion started by: petoSVK
2 Replies

5. Programming

how to clear screen in GDB session

hi , Could any one tell me the command for clearing the screen in GDB session (1 Reply)
Discussion started by: useless79
1 Replies

6. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

7. Shell Programming and Scripting

Clear specific part of the screen

I want to clear specific part of the screen. Say for example , i am running a bash script for i in {1..100} do echo "Current Record = $i" done if i use a clear command over there , it will clear my screen however when i scroll up i would have the old records , is there anyway in unix to... (5 Replies)
Discussion started by: chidori
5 Replies

8. Shell Programming and Scripting

CLEAR THESE Doubts Please ( bash scripts )

gnu.txt-----example file name 1. Display the 15th line of gnu.txt. 2. Display all lines of gnu.txt where the first and third fields are the same. 3. Display all lines of gnu.txt that have more than 100 fields. 4. Display the total number of lines in gnu.txt. 5. Display all lines in... (1 Reply)
Discussion started by: venkatesh B
1 Replies

9. UNIX for Dummies Questions & Answers

Which of the following command displays your login shell in bash shell?

Options:: A)$shell B)echo $ bash C)echo $ O D)$ O (1 Reply)
Discussion started by: raghugowda
1 Replies

10. UNIX for Beginners Questions & Answers

Help with bash escaping while using screen command

Hello, everyone. I'm currently trying to write a command system for a Minecraft server using screen. Here are the scripts I'm currently using. 0.sh #!/bin/bash screen -S Test114 -dm java -Xmx4G -jar server.jar nogui 1.sh #!/bin/bash args="$@" args2="${args@Q}" #args3=`printf '%q\n'... (2 Replies)
Discussion started by: Develon
2 Replies
Sys::Filesystem::Cygwin(3pm)				User Contributed Perl Documentation			      Sys::Filesystem::Cygwin(3pm)

NAME
Sys::Filesystem::Cygwin - Return Cygwin filesystem information to Sys::Filesystem SYNOPSIS
See Sys::Filesystem. INHERITANCE
Sys::Filesystem::Cygwin ISA Sys::Filesystem::Unix ISA UNIVERSAL METHODS
version() Return the version of the (sub)module. ATTRIBUTES
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object. device Device mounted. mount_point Mount point. fs_vfstype Filesystem type. fs_mntops Mount options. SEE ALSO
<http://cygwin.com/cygwin-ug-net/using.html> VERSION
$Id: Cygwin.pm 128 2010-05-12 13:16:44Z trevor $ AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk> Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/> COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington. Copyright 2008-2010 Jens Rehsack. This software is licensed under The Apache Software License, Version 2.0. <http://www.apache.org/licenses/LICENSE-2.0> perl v5.10.1 2010-05-18 Sys::Filesystem::Cygwin(3pm)
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy