10-09-2007
what output do you get when you run 'echo $TERM' as a user then run it as root?
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
clear(1) General Commands Manual clear(1)
NAME
clear - clear the terminal screen
SYNOPSIS
clear [-Ttype] [-V] [-x]
DESCRIPTION
clear clears your screen if this is possible, including its scrollback buffer (if the extended "E3" capability is defined). clear looks in
the environment for the terminal type given by the environment variable TERM, and then in the terminfo database to determine how to clear
the screen.
clear writes to the standard output. You can redirect the standard output to a file (which prevents clear from actually clearing the
screen), and later cat the file to the screen, clearing it at that point.
OPTIONS
-T type
indicates the type of terminal. Normally this option is unnecessary, because the default is taken from the environment variable TERM.
If -T is specified, then the shell variables LINES and COLUMNS will also be ignored.
-V reports the version of ncurses which was used in this program, and exits. The options are as follows:
-x do not attempt to clear the terminal's scrollback buffer using the extended "E3" capability.
HISTORY
A clear command appeared in 2.79BSD dated February 24, 1979. Later that was provided in Unix 8th edition (1985).
AT&T adapted a different BSD program (tset) to make a new command (tput), and used this to replace the clear command with a shell script
which calls tput clear, e.g.,
/usr/bin/tput ${1:+-T$1} clear 2> /dev/null
exit
In 1989, when Keith Bostic revised the BSD tput command to make it similar to the AT&T tput, he added a shell script for the clear command:
exec tput clear
The remainder of the script in each case is a copyright notice.
The ncurses clear command began in 1995 by adapting the original BSD clear command (with terminfo, of course).
The E3 extension came later:
o In June 1999, xterm provided an extension to the standard control sequence for clearing the screen. Rather than clearing just the vis-
ible part of the screen using
printf '