10-10-2007
bash-2.03$ export TERM=ansi
bash-2.03$ clear
'ansi': unknown terminal type.
10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I'm working on a Solaris 9 machine. I found the root's environment variables (say, $PATH, $ORACLE_HOME, big problem) were set differently from the users'. All regular users use C shell now and share the same environment file stored in /usr/local/config/cshrc.default.
Should I just use... (4 Replies)
Discussion started by: alanlh
4 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone hope you can help me
i have 5 root users and the problem with that is how can you see
witch root user did what on the box how can you track the users that
played on the servers.
1) What commands they typed (in linux you get history )
2) From witch ip did they connect to the server (3 Replies)
Discussion started by: sucram
3 Replies
3. Solaris
hello,
I have a challenge to find a way to lock down a file in a user's home directory, such that a user can NOT modify, rename, move, delete, etc. The solution needs to be deployable without, for example, having to switch from unix to windows, etc
We are using NFS. We want to lock the... (1 Reply)
Discussion started by: jvmagic
1 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I have an aix 5.3 running open ssh 1.75 i think
only root can sftp into the server. I appears to authenticate OK via the verbose output. Here it is:
################################################
################################################
... (3 Replies)
Discussion started by: dfezz1
3 Replies
5. UNIX Desktop Questions & Answers
Hi there,
I'm working with a Linux server and now I can get a daily Logwatch mail ... my question is:since there are too many users with root password (...in my opinion... :mad:) how could I prevent to delete information about "su" log?
Thanks in advance,
GB (3 Replies)
Discussion started by: Giordano Bruno
3 Replies
6. UNIX for Dummies Questions & Answers
hello,
/dev/dsk/c0t0d0s0 mounted on /
it shows 95% full
what steps i need to follow in order to clear data???
what files i need to clear???
thanks in advance (2 Replies)
Discussion started by: mtunganati
2 Replies
7. Solaris
I'm using Solaris 10. I want to restrict users from executing this dangerous command.
rm -rf *
But they should be able to perform the below actions:
rm -rf *.*
rm -rf filename
rm -rf directory
Is it possible? If yes then pls let me know how to do it? (7 Replies)
Discussion started by: Arun_Linux
7 Replies
8. Shell Programming and Scripting
I need to list users in /etc/passwd with root's GID or UID or /root as home directory
If we have these entries in /etc/passwd
root:x:0:0:root:/root:/bin/bash
rootgooduser1:x:100:100::/home/gooduser1:/bin/bash
baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies
9. AIX
Hello
i am running AIX 6.1. i recently changed the root password using passwd and pwdadm. while the new password works fine, i am still able to login using the old password. is there anyway this can disabled\fixed
thanks (5 Replies)
Discussion started by: dnlsingh
5 Replies
10. Shell Programming and Scripting
I am sorry if i post in wrong Form.
i have AIX server in which ssh works for all users but sftp only works for root user .
it is too much important for me to solve this .
Your help will be greatly appreciated. (1 Reply)
Discussion started by: khalid khanAIB
1 Replies
LEARN ABOUT FREEBSD
clear
TPUT(1) BSD General Commands Manual TPUT(1)
NAME
tput, clear -- terminal capability interface
SYNOPSIS
tput [-T term] attribute ...
clear
DESCRIPTION
The tput utility makes terminal-dependent information available to users or shell applications. When invoked as the clear utility, the
screen will be cleared as if
tput clear
had been executed. The options to tput are as follows:
-T The terminal name as specified in the termcap(5) database, for example, ``vt100'' or ``xterm''. If not specified, tput retrieves the
``TERM'' variable from the environment.
The tput utility outputs a string for each attribute that is of type string; a number for each of type integer. Otherwise, tput exits 0 if
the terminal has the capability and 1 if it does not, without further action.
If an attribute is of type string, and takes arguments (e.g. cursor movement, the termcap ``cm'' sequence) the arguments are taken from the
command line immediately following the attribute.
The following special attributes are available:
clear Clear the screen (the termcap(5) ``cl'' sequence).
init Initialize the terminal (the termcap(5) ``is'' sequence).
longname Print the descriptive name of the user's terminal type.
reset Reset the terminal (the termcap(5) ``rs'' sequence).
EXIT STATUS
The exit status of tput is as follows:
0 If the last attribute attribute argument is of type string or integer, its value was successfully written to standard output. If the
argument is of type boolean, the terminal has this attribute.
1 This terminal does not have the specified boolean attribute.
2 Usage error.
3 No information is available about the specified terminal type.
SEE ALSO
termcap(5), terminfo(5)
STANDARDS
The tput utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
The tput utility appeared in 4.4BSD.
BUGS
The tput utility cannot really distinguish between different types of attributes.
Some termcap entries depend upon having a '%' in them that is just a '%' and nothing more. Right now we just warn about them if they do not
have a valid type declaration. These warnings are sent to stderr.
BSD
June 15, 2002 BSD