Home Man
Search
Today's Posts
Register

RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

clear in Linux ksh

Tags
clear, ksh syntax, linux, linux equivalent of clear

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 12-07-2010
clear in Linux ksh

Clear in Linux
#!/usr/bin/ksh

am using clear in the script, but it is not working,
it gives an error as follows,

'xterm': unknown terminal type.

please help out.

---------- Post updated at 01:19 PM ---------- Previous update was at 12:01 PM ----------

if [ $Usage -gt $limit ]
then
clear
echo -e "\t \t \tYour usage is greater than limit
else
clear
echo -e "\t \t \tYour usage is lesser than limit
fi
# 2  
Old 12-07-2010
what happens if you enter "clear" from the command line? Does it clear the terminal window?
# 3  
Old 05-26-2011
yes it does!!
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Clear standard input buffer for C program in Linux Abhishek_kumar Programming 1 08-08-2014 11:09 AM
Clear history in ksh Priya Amaresh Shell Programming and Scripting 5 07-19-2013 10:54 AM
How to clear history in Linux NARESH1302 UNIX for Dummies Questions & Answers 7 12-15-2010 07:01 AM
Clear wtmp x_adm AIX 2 04-23-2010 09:10 AM
How to clear IP address on AIX? rainbow_bean AIX 4 10-10-2009 04:03 AM
how to clear particular port laxmikant HP-UX 6 09-23-2009 11:21 PM
Clear log file in use. coolbhai UNIX for Advanced & Expert Users 10 06-20-2007 09:37 AM
clear console punk000 UNIX Desktop Questions & Answers 3 07-21-2003 11:09 AM
clear memory fenomen UNIX for Dummies Questions & Answers 2 06-24-2003 09:33 AM
clear screen immanuelgangte Programming 6 08-02-2002 12:09 PM


All times are GMT -4. The time now is 02:33 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password