Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

huh(1) [centos man page]

HUH(1)                                                        General Commands Manual                                                       HUH(1)

huh - redisplay last telegram received. SYNOPSIS
Huh reprints the last telegram that was sent to you. It is intended for use when telegrams get garbled on your screen. Huh will only work if you had the ``record'' flag turned on when the telegram was received. This flag can be turned on with the mesg(1) command. Normally, huh will delete each message immediately after displaying it. If the -k flag is given, the message is non deleted, and the next huh command will display it again. On the other hand, the -s flag suppresses the display of the message, so it will just be deleted. Normally, only the last message is retained, except when amin(1) is run with the -p flag. AUTHOR
Jan Wolter FILES
~/.lastmesg /etc/wrttmp SEE ALSO
mesg(1), write(1), amin(1) 7th Edition Jan 20, 2000 HUH(1)

Check Out this Related Man Page

AMIN(1)                                                       General Commands Manual                                                      AMIN(1)

amin - notify writers that you are busy SYNOPSIS
amin [-ynesp] command [args...] DESCRIPTION
Amin is used when you don't want to be written while running a command. It runs the command given normally. If your message permissions (see mesg(1)) are off, it does nothing much else. If your messages are on, people writing you with write(1) will be warned that you are running that command and will be given the opportunity to change their minds about writing you. The -n option may be used to turn your messages entirely off for the duration of the execution of command. People writing you will get "Permission denied". The -y option turns your message permissions on for the duration of the execution of the command. The -e may be used after either -n or -y to indicate that the logins listed in the .yeswrite or the .nowrite files respectively are exceptions to the message permissions set. The default is -s which leaves your message permissions in their original state. In any case, after the command is com- plete, your permissions will be restored to the original state. The -p flag causes all telegrams sent to you while the command is running to be saved. They are displayed as soon as the command is com- plete. If used with the -n flag, writes are refused, but telegrams are still saved. If you have designated yourself as a helper, you will still be marked on the finger(1) output as a helper while you are running amin but people doing ``write help'' will not be connected to you, even if you have the helper flag set to ``Y''. AUTHOR
Jan Wolter FILES
/etc/wrttmp to find message permissions /etc/utmp to find user SEE ALSO
mesg(1), finger(1), write(1), huh(1). 7th Edition July 1, 1991 AMIN(1)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to use the AT command

I have searched for this and turned up nothing so... How do I use the AT command? What is the syntax to get it going. Any help would be gratefully appreciated. (2 Replies)
Discussion started by: Cynergetix
2 Replies

2. Linux

partition problems!

Hey, haha i'm back! Just when i thought everythign was working fine and dandy i found out that i screwed up my partitions way back when i set teh computer up like 5 months SO! I have decided to format....jus tcause this is my learning computer and install RH9 or whatever the... (15 Replies)
Discussion started by: byblyk
15 Replies

3. What is on Your Mind?


:eek: :D :confused: what is this place (2 Replies)
Discussion started by: raquaza11238
2 Replies

4. Programming

fork/exec clobbers write. I need ideas why...

On my *nix box, I have a telegram program. When I go like tel person "la\nla\nla\n" the person sees "la\nla\nla\n" However, when I have a program that forks and execs tel like: pid = fork(); if (pid < 0) { perror("fork failed"); exit(EXIT_FAILURE); } if (pid == 0) {... (7 Replies)
Discussion started by: frequency8
7 Replies

5. Shell Programming and Scripting

to count their numbers using awk

suppose u have a file AAG AAG GYG HYH GTG AAG AAG HYH GYG HUH JUJ JUJ AAG so output shud have AAG = 5 GYG=2 HYH=2 HUH=1JUJ=2 (3 Replies)
Discussion started by: cdfd123
3 Replies

6. Shell Programming and Scripting

parsing output from SQL querry

Hi all I have this output in a variable called ...yes $OUTPUT :-) original...huh these are tablespaces in an Oracle db how do I get this into another variable in two columns so I can do a check on the numbers (space left) SYSTEM 290; USERS 19; UNDOTBS1 1863; DATA 5982; SYSTEM 290; USERS... (7 Replies)
Discussion started by: ludvig
7 Replies

7. UNIX for Dummies Questions & Answers

'less' command response is garbled

Helo , I m using RHEL 4. If I run 'ls -laF | more', response is properly display. but when I run If I run 'ls -laF | less', the response is garbled what to do to remove this? Regards, Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies

8. Shell Programming and Scripting

Removing lines having #

I have a script which goes to different directories and gives the values of all the input parameters, Something as follows cd /opt grep script-filter = yes *.conf grep user-and-group-in-same-suffix = yes *.conf grep worker-threads = 300 *.conf grep failover-auth = *.conf grep... (9 Replies)
Discussion started by: openspark
9 Replies

9. UNIX for Dummies Questions & Answers

Is this possible with cronjobs?

Hi there, i've a question about cronjobs. I'm creating a concept for a centralized logging repository using log4j/log4net. Sadly the appenders I want to use (fileappenders) aren't telegram based but need a permanent stream to the repository. Because I can not assure this I want to log these... (6 Replies)
Discussion started by: collatz
6 Replies

10. Shell Programming and Scripting

sed garbled error message in bash shell

Sed garbled error. Cannot determine why the sed command to insert a line at the beginning of a file will not work on declared variables. outfile='DAR.V2.2012115.1.CSV' testfile='totality_request.sql' header_prefix='DATA FILE' no_ext_file=`echo $outfile |sed 's/\(.*\)..../\1/'` ... (6 Replies)
Discussion started by: smenago
6 Replies

11. Shell Programming and Scripting

Echo both to the screen and to a file

In shellscript, I want to display echo message in console and in the log file. please help me to display this message in two places. I am using below statment to display messsage, but it is displaying in log file only. echo "Server Already running" >> serverlog 2>&1 (3 Replies)
Discussion started by: Kri
3 Replies

12. What is on Your Mind?

Telegram Bots - Bot Code Examples

I'm currently looking into ways to integrate the Telegram API into the forums: Telegram Bots - Bot Code Examples I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?). Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
Discussion started by: Neo
5 Replies

Featured Tech Videos