VHANGUP(8) The SuSE boot concept VHANGUP(8)NAME
Vhangup - Cause a virtually hangup on the specified terminals
vhangup [/dev/<terminal> [/dev/<terminal>]]
vhangup simulates a hangup on the specified terminals. Not existing device files or devices will be ignored.
vhangup /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/ttyS1
This will replace all open file descriptors in the kernel that points to the listed ttys by a dummy that will deny further reading/writing
to the device. It also send the signals SIGHUP/SIGCONT to the processes which have file descriptors open on the listed ttys.
On success, zero is returned. On error, 1 is returned.
SEE ALSO vhangup(2), tty(4), ttyS(4), pts(4).
2008 Werner Fink, 2008 SUSE LINUX Products GmbH, Germany.
Werner Fink <firstname.lastname@example.org>
3rd Berkeley Distribution Jan 31, 2008 VHANGUP(8)
Check Out this Related Man Page
VHANGUP(2) Linux Programmer's Manual VHANGUP(2)NAME
vhangup - virtually hangup the current tty
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
vhangup(): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500)
vhangup() simulates a hangup on the current terminal. This call arranges for other users to have a "clean" tty at login time.
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
EPERM The calling process has insufficient privilege to call vhangup(); the CAP_SYS_TTY_CONFIG capability is required.
This call is Linux-specific, and should not be used in programs intended to be portable.
SEE ALSO capabilities(7), init(8)COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2007-07-26 VHANGUP(2)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)