Sh

APPLY(1) - General Commands Manual

Xargs, Sh, Apply

APPLY(1) - General Commands Manual # APPLY(1) - General Commands Manual NAME # apply - apply a command to a set of arguments SYNOPSIS # apply [-‌#] [-d] [-a magic] command argument … DESCRIPTION # apply runs the named command on each given argument in turn. Character sequences of the form “%d” in command, where ’d' is a digit from 1 to 9, are replaced by the d‘th following unused argument. ...

AT(1) - General Commands Manual

Umask, Sh, Nice, Cron, Atq, Touch, Atrm, At

AT(1) - General Commands Manual # AT(1) - General Commands Manual NAME # at, batch - queue, examine or delete jobs for later execution SYNOPSIS # at [-bm] [-f file] [-l [job …]] [-q queue] -t time_arg | timespec at -c | -r job … batch [-m] [-f file] [-q queue] [timespec] DESCRIPTION # at and batch read commands from standard input or a specified file which are to be executed at a later time, via the user’s shell as specified by the SHELL environment variable. ...

BASENAME(1) - General Commands Manual

Dirname, Csh, Sh, Basename

BASENAME(1) - General Commands Manual # BASENAME(1) - General Commands Manual NAME # basename - return filename portion of pathname SYNOPSIS # basename string [suffix] DESCRIPTION # basename deletes any prefix ending with the last slash (’/’) character present in string, and a suffix, if given. The resulting filename is written to the standard output. A non-existent suffix is ignored. EXIT STATUS # The basename utility exits 0 on success, and >0 if an error occurs. ...

BIFF(1) - General Commands Manual

Mail, Csh, Comsat, Sh, Biff

BIFF(1) - General Commands Manual # BIFF(1) - General Commands Manual NAME # biff - be notified if mail arrives and who it is from SYNOPSIS # biff [n | y] DESCRIPTION # biff informs the system whether you want to be notified when mail arrives during the current terminal session. The options are as follows: n Disables notification. y Enables notification. When mail notification is enabled, the header and first few lines of the message will be printed on your screen whenever mail arrives. ...

CAT(1) - General Commands Manual

Pr, Sh, Head, Vis, Tail, Setvbuf, Less, More, Cat

CAT(1) - General Commands Manual # CAT(1) - General Commands Manual NAME # cat - concatenate and print files SYNOPSIS # cat [-benstuv] [file …] DESCRIPTION # The cat utility reads files sequentially, writing them to the standard output. The file operands are processed in command-line order. If file is a single dash (’-’) or absent, cat reads from the standard input. The options are as follows: -b Number the lines, but don’t count blank lines. ...

CSH(1) - General Commands Manual

Ksh, Sh, Script, Tty, Environ, Csh

CSH(1) - General Commands Manual # CSH(1) - General Commands Manual NAME # csh - a shell (command interpreter) with C-like syntax SYNOPSIS # csh [-bcefimnstVvXx] [argument …] csh [-l] DESCRIPTION # csh is a command language interpreter incorporating a history mechanism (see History substitutions), job control facilities (see Jobs), interactive file name and user name completion (see File name completion), and a C-like syntax. It is used both as an interactive login shell and a shell script command processor. ...

DIRNAME(1) - General Commands Manual

Basename, Csh, Sh, Dirname

DIRNAME(1) - General Commands Manual # DIRNAME(1) - General Commands Manual NAME # dirname - return directory portion of pathname SYNOPSIS # dirname pathname DESCRIPTION # dirname deletes the filename portion, beginning with the last slash (’/’) character to the end of pathname, and writes the result to the standard output. EXIT STATUS # The dirname utility exits 0 on success, and >0 if an error occurs. EXAMPLES # The following line sets the shell variable FOO to /usr/bin: ...

ED(1) - General Commands Manual

Vi, Re_format, Sed, Sh, Ed

ED(1) - General Commands Manual # ED(1) - General Commands Manual NAME # ed - text editor SYNOPSIS # ed [-] [-s] [-p string] [file] DESCRIPTION # ed is a line-oriented text editor. It is used to create, display, modify, and otherwise manipulate text files. If invoked with a file argument, then a copy of file is read into the editor’s buffer. Changes are made to this copy and not directly to file itself. ...

ENVIRON(7) - Miscellaneous Information Manual

Printenv, Env, Execle, Sh, Login, System, Getenv, Termcap, Ex, Tzset, Execve, Csh, Environ

ENVIRON(7) - Miscellaneous Information Manual # ENVIRON(7) - Miscellaneous Information Manual NAME # environ - user environment SYNOPSIS # extern char **environ; DESCRIPTION # An array of strings called the “environment” is made available by execve(2) when a process begins. By convention these strings have the form name=value. The following variables are recognized by various commands: BLOCKSIZE The size of the block units used by several commands, most notably df(1), du(1), and ls(1). ...

GETOPT(1) - General Commands Manual

Sh, Getopt

GETOPT(1) - General Commands Manual # GETOPT(1) - General Commands Manual NAME # getopt - parse command options SYNOPSIS # getopt optstring $*‌ DESCRIPTION # The getopt utility cannot handle option arguments containing whitespace; consider using the standard getopts shell built-in instead. getopt is used to break up options in command lines for easy parsing by shell procedures, and to check for legal options. optstring is a string of recognized option letters (see getopt(3)); if a letter is followed by a colon, the option is expected to have an argument which may or may not be separated from it by whitespace. ...