AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

Table of Contents tee • . . • . • . • • • • • • . • . • • • pipe fitting test . . . . • • • • condition evaluation command time • • . • • . . • • . • . . . . • • . • • • time a command touch . • • • • update access and modification times of a file tr • • • . • . • . . • . • • • . • . • . • • translate characters true . • . • . . . . • . • . . • . . . . . • provide truth values tset • • . . . • • • • • . • . . . . • . • • . set terminal modes tsort • • . . . • • • . . • • • . . • . . • . . . topological sort tty • . . . • • . . • • . • . • . . • • . get the terminal's name uahelp • . • • . user agent help process uaupd • • . . • • . . . • . • . . . update user agent special files umask • . • • . . . . . . • • • • . • set file-creation mode mask umodem • . . . • remote file transfer program for ep /M terminals uname . print name of current UNIX system unget • undo a previous get of an sees file uniq • . . • report repeated lines in a file units . • . . • . • . . conversion program uucp . . . • • • • • • . . . . . . • . . • UNIX-to-UNIX copy uustat . uucp status inquiry and job control uuto • • • . . • . • . • . • • . . public UNIX-to-UNIX file copy uux • . . . . . . . • . . . . UNIX-to-UNIX command execution val • . . . • • • • • . . . • . • . . . • . . validate sees file vc . • vi • . • . . • • • . . . • . . . . • . . • . . . version control . screen oriented (visual) display editor based on ex wait • • . . . • . • • . • . • . . • • await completion of process we • . . . • • • • . . . . • . . • . . • . . . • • word count what • • identify sees files who • . . . . . . . . • • • . . who is on the system write xargs • . . . . . . • • . . • . write to another user • construct argument Iist(s) and execute command yacc . . . . . . . . . yet another compiler-compiler 2. System Calls intro . • . . . introduction to system calls and error numbers access . . . • • • • • • . • determine accessibility of a file acct . • . . . • . . . . • . . enable or disable process accounting alarm . . . . . . . . • . . . . • • • set a process's alarm clock brk • . • . • . . . . . . . . change data segment space allocation chdir . • . . • . . • • . . • • • • • • change working directory chmod • . • . . • . change mode of file chown . change owner and group of a file chroot . . • . . . change root directory close . . . . • . close a file descriptor creat . . . • • . . • • . create a new file or rewrite an existing one dup . . . • . • . . . . . . . . . duplicate an open file descriptor exec • . . execute a file exit • . . . . . . . . . . . . • . . . . terminate process - 4-

Table of Contents fcntl . . file control fork • . . . . . . . . . . . . . • create a new process getpid • get process, process group, and parent process IDs getuid • . • . . get real or effective user, real or effective group IDs ioctl . . . . . . . . . . . . . . . . . . . . . . . control device kill • . . . . • . . send a signal to a process or a group of processes link • . . . • • . . . • • . . • link to a file locking !seek . mknod mount msgctl msgget . . • • . • exclusive access to regions of a file . . • . . . . . . move read/write file pointer . make a directory, or a special or ordinary file . . . . . • . • . . . • • . . mount a file system . . . . . . • . . . • . message control operations . . . • . . . . . . . • . . . . . . • get message queue msgop . . . . • . . . • . . . . . . . . . . message operations nice • . change priority of a process open • . • . • . . . . • • . . . . . • open for reading or writing pause . . . . . suspend process until signal pipe . . . . . create an interprocess channel plock • lock process, text, or data in memory profil . • . . . . • • execution time profile ptrace . . . . . . . . process trace read . • . . . . . . . . . . • . . . . . . • . . • read from file semctl . • . . . . . . . . . . • • . semaphore control operations semget . . . . . . . . . . . . . . . • • . get set of semaphores semop . . • . • . . • . . . . . . . . . . semaphore operations setpgrp . . . . . . . set process group ID setuid • . . . . . . • . . . • . . • . . • set user and group IDs shmctl . . . . . • . . . . . . • shared memory control operations shmget . . . . . . . . . . . . . . . get shared memory segment shmop . . . . . . . . . . • . . . . . shared memory operations signal . specify what to do upon receipt of a signal stat . • . . . . . . . . . . . . . . . . . . . . . get file status stime . . . . • . . set time sync • update super-block syslocal • • local system calls time • . . . . . . get time times . • . • . . . . . . • . . get process and child process times ulimit . • . • get and set user limits umask • . . . set and get file creation mask umount . . . • . . unmount a file system uname • . get name of current UNIX system unlink • . . . . . . • . . . . . . . . . . remove directory entry ustat . . . . . . . . . . . . . . . . . . get file system statistics utime • . . . . . . . . . . . set file access and modification times wait • . . . . • . • • . wait for child process to stop or terminate write . . . . . . . . . . . . . . . . . . . . • . write on a file - 5 -

Table of Contents<br />

fcntl . . file control<br />

fork • . . . . . . . . . . . . . • create a new process<br />

getpid • get process, process group, and parent process IDs<br />

getuid • . • . . get real or effective user, real or effective group IDs<br />

ioctl . . . . . . . . . . . . . . . . . . . . . . . control device<br />

kill • . . . . • . . send a signal to a process or a group of processes<br />

link • . . . • • . . . • • . . • link to a file<br />

locking<br />

!seek .<br />

mknod<br />

mount<br />

msgctl<br />

msgget<br />

. . • • . • exclusive access to regions of a file<br />

. . • . . . . . . move read/write file pointer<br />

. make a directory, or a special or ordinary file<br />

. . . . . • . • . . . • • . . mount a file system<br />

. . . . . . • . . . • . message control operations<br />

. . . • . . . . . . . • . . . . . . • get message queue<br />

msgop . . . . • . . . • . . . . . . . . . . message operations<br />

nice • . change priority of a process<br />

open • . • . • . . . . • • . . . . . • open for reading or writing<br />

pause . . . . . suspend process until signal<br />

pipe . . . . . create an interprocess channel<br />

plock • lock process, text, or data in memory<br />

profil . • . . . . • • execution time profile<br />

ptrace . . . . . . . . process trace<br />

read . • . . . . . . . . . . • . . . . . . • . . • read from file<br />

semctl . • . . . . . . . . . . • • . semaphore control operations<br />

semget . . . . . . . . . . . . . . . • • . get set of semaphores<br />

semop . . • . • . . • . . . . . . . . . . semaphore operations<br />

setpgrp . . . . . . . set process group ID<br />

setuid • . . . . . . • . . . • . . • . . • set user and group IDs<br />

shmctl . . . . . • . . . . . . • shared memory control operations<br />

shmget . . . . . . . . . . . . . . . get shared memory segment<br />

shmop . . . . . . . . . . • . . . . . shared memory operations<br />

signal . specify what to do upon receipt of a signal<br />

stat . • . . . . . . . . . . . . . . . . . . . . . get file status<br />

stime . . . . • . . set time<br />

sync • update super-block<br />

syslocal • • local system calls<br />

time • . . . . . . get time<br />

times . • . • . . . . . . • . . get process and child process times<br />

ulimit . • . • get and set user limits<br />

umask • . . . set and get file creation mask<br />

umount . . . • . . unmount a file system<br />

uname • . get name of current UNIX system<br />

unlink • . . . . . . • . . . . . . . . . . remove directory entry<br />

ustat . . . . . . . . . . . . . . . . . . get file system statistics<br />

utime • . . . . . . . . . . . set file access and modification times<br />

wait • . . . . • . • • . wait for child process to stop or terminate<br />

write . . . . . . . . . . . . . . . . . . . . • . write on a file<br />

- 5 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!