Sponsored Content
Full Discussion: .sh_history file
Top Forums UNIX for Advanced & Expert Users .sh_history file Post 35380 by krishna on Wednesday 9th of April 2003 11:11:37 PM
Old 04-10-2003
Perderbo, I'm using Digital Unix Version 5.60 on Alpha Server. Tried with who -a /path/to/wtmp command but could n't any required info, please suggest.

regards,
Krishna
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to create .sh_history file

Thanks PxT answered my "compare two files"question very quick and neat!!:-) I have a question about .history file I couldn't find any satisfied answer from book. 1. This file was created automatically when you set up user's environment or you have to use a command to create it or you... (4 Replies)
Discussion started by: b5fnpct
4 Replies

2. UNIX for Dummies Questions & Answers

.sh_history contains the list of past commands

hi, .sh_history keeps a list of past commands that we entered. but it has a limit and where do we set this limit. thanks. (1 Reply)
Discussion started by: yls177
1 Replies

3. UNIX for Dummies Questions & Answers

Clarification on .cshrc,.exrc,.login,.profile,.sh_history files

All, I had a request to delete filed under a directory that was 35 days old . And they asked me to scedule it in CRON . I have done that . I have use find and delete with mtime to perfrom this task . But my script is not deleting this .cshrc,.exrc,.login,.profile,.sh_history file... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies

4. AIX

history .sh_history sh_history

hi what's the difference between .sh_history and sh_history for root user? thanks itik (1 Reply)
Discussion started by: itik
1 Replies

5. AIX

timestamp in .sh_history using ksh shell

Hello Everyone: Does anyone know how I will setup my account to put timestamp in my .sh_history? I do not hold the root account. I am using AIX 5 and ksh shell. I tried every solution I can find in the internet but nothing seems to work OR I am just applying those in the wrong way. Anyone knows... (4 Replies)
Discussion started by: Orbix
4 Replies

6. UNIX for Advanced & Expert Users

Incoherence between finger and .sh_history

Hello, I've a script that verifies users connections. This is the check part do NEVER=$(finger $USER | grep -i Never) if then NAME=$(finger $USER | grep -i "In real life" | sed -e 's/^.*life: //') echo $USER $NAME >> never_logged #" "$NEVER fi done that for a specific... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

7. AIX

Looking at .sh_history file.

I reviewed a couple old post where shockneck posted the use of the EXTENDED_HISTORY=ON variable to place a timestamp in the .sh_history file when using ksh and using the fc -t command to read the .sh_history file. The fc command reads my history file. As an admin I would like to be able to read... (5 Replies)
Discussion started by: juredd1
5 Replies

8. UNIX for Advanced & Expert Users

sh_history file

Hi, I'm on a linux machine. But I see that sh_history is not updated since february 15. How is it possible ? Thank you. uname -a Linux MYSERVER 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 23 15:57:10 EDT 2010 i686 i686 i386 GNU/Linux ls -al -rw------- 1 oracle dba 3644 fév 15 09:28... (10 Replies)
Discussion started by: big123456
10 Replies

9. AIX

Problem in Emailing all .sh_history entries

Hi, I can't get all the enties of AIX .sh_history in email. only first entry of the history is emailed after executing the below code. mail -s "History `date +%d-%m-%Y`" myemail@xyz.com <$HOME/.sh_history Can anyone help? (3 Replies)
Discussion started by: m_raheelahmed
3 Replies

10. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
uugetty(8)						      System Manager's Manual							uugetty(8)

NAME
uugetty - Sets the terminal type, modes, speed, and line. SYNOPSIS
/usr/lib/uucp/uugetty [-h] [-t time] [-r] [-c file] line [speed_label [terminal [line_discipline] ] ] The uugetty utility sets the terminal type, modes, speed, and line discipline. FLAGS
Hold the carrier during the initialization phase; do not hang up. Timeout after time seconds and drop the line if nothing is typed while trying to login. Specifies that uugetty should wait for a character before it displays a login message, thus preventing two uugetty com- mands from looping and allowing the line to be shared by uucico, cu, and tip. Specifies that file should be checked instead of /etc/uuget- tydefs. DESCRIPTION
The uugetty command sets and manages terminals by setting up speed, terminal flags, and the line discipline. If command flags are pro- vided, uugetty adapts the system to those specifications; uugetty prints the login prompt, waits for the user to enter a username, and invokes the login command. The uugetty command provides all the features of the getty command, but also provides support through the -r flag for using the line with the uucico, cu, ct, and tip commands. The line can thereby be used in both directions. The uugetty command enables users to log in, but if the line is free, the uucico, cu, ct, and tip commands can be used for dialing out. The implementation depends on the fact that the uucico, cu, ct, and tip commands create lock files when devices are used. When uugetty first reads characters, the status of the lock file indicates whether the line is being used by uucico, cu, ct, or tip, or by someone trying to log in. The line argument specifies the /dev/entry for the terminal line. It can be entered as a relative pathname or an absolute pathname. The speed_label argument is a pointer into the /etc/uugettydefs file where the definitions for speed and other associated flags are located. If this argument is not specified, uugetty uses the first entry in the file. The terminal argument specifies the name of the terminal type. This argument is used to set the TERM environment variable for the user who logs in from this terminal. The line_discipline argu- ment specifies the name of the line discipline. When the -r flag is used, the user may have to key several carriage returns before the login message is displayed. When uucico attempts to log in, the following login script informs it that several carriage returns may be necessary before the login message is displayed, "" d d d in:--in:login sequence where login sequence is whatever is normally used for the login sequence: An entry for an intelligent modem or direct line that has a uugetty on each end must use the -r flag. The following is an /etc/inittab entry using uugetty on an intelligent modem or direct line: 30:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty12 1200 FILES
Specifies the command path The terminal line database file. This uses the same format as /etc/gettydefs. File which specifies the ini- tialization processes. Lock files used by uugetty, uucico, cu, ct, and tip to keep other commands from using the same terminal line. RELATED INFORMATION
Commands: uucico(8), getty(8), init(8), ct(1) cu(1), tip(1), login(1), stty(1) Files: gettydefs(4), inittab(4), tty(7) delim off uugetty(8)
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy