Sie sind auf Seite 1von 1

SYSTEM

at [-S | --status]: Root only: Display the password status of [{-u userid | --user userid}]: Show information for
the specified account. processes with a matching effective user ID
Execute a command or script at a specified time and at
[-u | --unlock]: Root only: Unlock the specified account. [v]: Display: virtual memory format
regular intervals.
[-w | --warning=days]: Root only: The number of days [{w | -w}]: Display: wide output
at [[-V] [-q queue] [-f file] [-m] [-l] [-d] [-b] [-v] time] | warning that a user receives that his password is to [x]: Show information for processes that do not have
[-c job [job...]] expire. controlling TTYs
[-V]: Show the version of at. [-x | --maximum=days]: Root only: The maximum life of [X]: Display: Linux i386 format
[-q queue]: Specifies the queue to use. a password. [-y]: Don’t show flags
[-f file]: Get the job information from a file. [username]: The username on which to perform the
[-m]: Email job status to user after completion. operation. shutdown
[-l]: List the jobs currently in the queue. Shut down the system. Must be logged in as root.
[-d]: Remove the job from the queue. ps
shutdown [-a] [-c] [-f] [-F] [-h] [-n] [-k] [-r] [-t seconds]
[-b]: Allows a job to be run based on the current system Display process statistics. time [message]
status. ps [a] [-A] [-a] [C] [c] [-C processname] [{--cols num | [-a]: Use /etc/shutdown.allow.
[-v]: Shows completed jobs still in the queue. --columns num | --width num}] [-d] [e] [-e] [{f | [-c]: Cancel an in-progress shutdown.
time: The time that the job should run. MM/DD/YY and/or --forest}] [-f] [g] [{-G RGID | --Group RGID}] [-f]: Skip the file system check upon reboot.
HH:MM specification is supported. [{-g groupname | --group groupname}] [{h | [-F]: Force a file system check upon reboot.
[-c job [job...]]: The task that should be performed at the --no-headers}] [-H] [--headers] [--html] [{j | -j}] [-h]: Halt the system after the shutdown is complete.
time specified. [{l | -l}] [L] [{--lines num | --rows num}] [{m | -m}] [-n]: Go down fast and don’t use ‘init’.
[n] [{N | -n}] [-N | --deselect] [{--nul | --null | [-k]: Only warn about a pending shutdown but don’t
date --zero}] [O] [{o | -o | --format}] [{p pid | -p pid | --pid actually do it.
© 1995-2003 CNET Networks, Inc. All rights reserved. “TechRepublic” and its logo are trademarks of CNET Networks, Inc. Reproduction of this publication in any form is prohibited.

Display and set the system date and time pid}] [r] [s] [{S | --cumulative}] [{-s session | --sid [-r]: Reboot the system after the shutdown.
Date [-u | --utc | --universal] [-d | --date=datestring] session}] [--sort sortkey] [{-t tty | t tty | T tty | --tty [-t seconds]: The number of seconds to wait before
[-R | --rfc-822] [[yyyy]mmddhhmm[yy][.ss]] tty}] [{-U RUID | --User RUID}] [{-u userid | --user sending the kill signal.
[-u | --utc | --universal]: Print/set universal time. userid}] [v] [{w | -w}] [x] [X] [-y] time: The time to shutdown (ie - ‘now’)
[-d | --date=datestring]: Display the time shown by the [a]: Show information for all processes on this terminal [message]: The warning message to send to attached
string specified here. including those belonging to other users users.
[-R | --rfc-822]: Show the time in rfc-822 format. [-A]: Show information for all processes
[[yyyy]mmddhhmm[yy][.ss]]: The format for the date [-a]: Show information for all processes with a TTY except sudo
and time. session leaders Run a command as another user.
[C]: Show the raw CPU time sudo [-k] | [-K] | [-l] | [-v] | [-V] | [-b] [-H] [-P] [-S]
halt [c]: Show the true command name [-p prompt] [-u username | #uid] [-s] | [command]
Power down or restart the system. [-C processname]: Show information for processes that [-k]: “kill”: invalidates a user’s timestamp.
halt [-d] [-f] [-h] [-i] [-n] [-p] [-w] match the name specified [-K]: “sure kill”: remove a user’s timestamp.
[{--cols num | --columns num | --width num}]: [-l]: Shows the allowed commands for the user.
[-d]: Don’t write wtmp record before shutting down.
The screen width [-v]: Validate the user’s timestamp.
[-f]: Force a shutdown or restart.
[-d]: Show information for all processes except session [-V]: Version
[-h]: Place hard drives into standby before shutting down.
leaders [-b]: Runs the specified command in the background.
[-i]: Shut down network interfaces before shutting down.
[e]: Show the environment after each command [-H]: Sets the HOME variable to match the user specified.
[-n]: Don’t sync before shutting down. Implies a -d.
[-e]: Show information for all processes with a TTY except [-P]: Preserve the user’s group vector.
[-p]: Halt with a poweroff rather than restart.
session leaders [-S]: Causes sudo to read password from file rather than
[-w]: Don’t shutdown or restart, but write wtmp record.
[{f | --forest}]: Display: process listing with ASCII art terminal.
kill [-f]: Display: full process listing [-p prompt]: Use a custom password prompt.
Terminate a system process. [g]: Really, we mean it this time. Show ALL process [-u username | #uid]: The user or user ID.
information. [-s]: Runs the shell specified in the SHELL variable.
kill [-l [signal] | [-s signal | -p]] [-a] [--] pid ...
[{-G RGID | --Group RGID}]: Show information for [command]: The command to run.
[-l signal]: Print a list of signal names. Red Hat Linux 9 processes with a matching real group ID
has 63 signal names. [{-g groupname | --group groupname}]: Show top
[-s signal]: The signal to send to the process. Signal 9 for information for processes matching the effective top [b] [c] [C] [d delay] [i] [p pid] [q] [s] [S]
example, will send a SIGKILL signal to a process group name [n iterations]
effectively killing it. [{h | --no-headers}]: Display: do not print header lines
[-p]: Just print the process id for the specified process [b]: Batch mode. Use with n to specify the number of
[-H]: Display: process hierachy
and do not send it any signals. iterations.
[--headers]: Repeat the header lines
[-a]: Don’t restrict commandname-to-pid conversion. [c]: Display command line rather than command name.
[--html]: Print html escaped output
[C]: SMP systems: display total CPU statistics.
[{j | -j}]: Display: jobs format
newaliases [d delay]: The delay between screen updates.
[{l | -l}]: Display: long listing format
Rebuild the mail aliases database. [i]: Ignore idle and zombie processes.
[L]: List all formats
[p pid]: Monitor processes with the specified process ID.
Newaliases does not take any parameters and is [{--lines num | --rows num}]: Set the screen height
This parameter can be specified 20 times.
functionally equivalent to sendmail -bi. [{m | -m}]: Display: all threads
[q]: Refreshes without delay.
[n]: Display: numeric output for WCHAN and USER
passwd [s]: Run in secure mode.
[{N | -n}]: Set namelist file
Manage user’s passwords. [S]: Show process utilization as a cumulative figure
[-N | --deselect]: Negate the selection
building on the previous process.
passwd [-d | --delete] [-f | --force] [-i | --inactive=days] [{--nul | --null | --zero}]: Unjustified output with NULs
[n iterations]: Use with b to run a certain number of
[-k | --keep-tokens] [-l | --lock] [-n | --minimum= [O]: Sort order: overloaded
times.
days] [-S | --status] [--stdin] [-u | --unlock] [{o | -o | --format}]: Display: User define format
[-w | --warning=days] [-x | --maximum=days] [{p pid | -p pid | --pid pid}]: Show information for useradd
[username] processes with a matching process ID Add a new user to the system. Must be logged in as root.
[-d | --delete]: Root only: Delete the password for the [r]: Show information for running processes
[s]: Display: Signal format useradd [-A {method | DEFAULT},...] [-c comment]
user. [-d homedir] [-e expiredate] [-f inactivetime]
[-f | --force]: Force the operation to complete. [{S | --cumulative}]: Include dead child process
information [-g initialgroup] [-G group[...]] [-m [-k skeletondir]]
[-i | --inactive=days]: Root only: The account grace [-n] [-r] [-s shell] [-u uid [-o]] login
period. The number of days after a password expires [{-s session | --sid session}]: Show information for
processes belonging to the matching session [-A {method | DEFAULT},...]: The name of the program
before an account is disabled.
[--sort sortkey]: Sort order that will authenticate the user.
[-k | --keep-tokens]: Keep authentication tokens that have
[{-t tty | t tty | T tty | --tty tty}]: Show information for [-c comment]: A comment to associate with the user
not expired.
processes on the terminal specified account.
[-l | --lock]: Root only: Lock the specified account.
[{-U RUID | --User RUID}]: Show information for [-d homedir]: The location of the user’s home directory.
[-n | --minimum=days]: Root only: The minimum number
of days that must pass before the password can be processes with a matching real user ID
changed again. Continued on next page

This is a single user version and duplication is prohibited. For additional copies please call 1-800-217-4339.

Das könnte Ihnen auch gefallen