UNIX系统常用命令(4)

UNIX系统常用命令

4. 管理员常用命令

4.1 install

用于安装一个新的命令或daemon等. 一般情况下可以不用,但很多软件在其安装

shell script中使用install将目标文件复制到相应的目录并设置正确的属性等.

NAME

install - copy files and set their attributes

SYNOPSIS

install [options] [-s] [--strip] source dest

install [options] [-s] [--strip] source... directory

install [options] [-d,--directory] directory...

Options:

[-c] [-g group] [-m mode] [-o owner] [--group=group]

[--mode=mode] [--owner=owner] [--help] [--version]

4.2 shutdown

不同的unix参数不尽相同,在linux下常用如下方式关机:

shutdown -h now

shutdown -r now (等同于reboot)

4.3 halt

poweroff

关机,在多用户方式下(Runlevel 3)不建议使用,

4.4 ulimit

korn shell和bourne shell中可用此命令,在csh系列中相应的命令为limit. 用于限制每个进程可使用的系统资源,通常分两种限制:

. Hard limits 系统所定义的资源,只有root能更改

. 软限制 对新建进程所使用的限制,可增加到系统的Hard Limit.

Flags:

-a 列出软限制

-Ha 列出Hard Limit

-c size 设置coredump size的块大小

-t size cputime

-f size file size

4.5 umask 系统管理员用于设置用户默认的umask值.


UNIX系统常用命令(4).doc 将本文的Word文档下载到电脑

下一篇:关于求解三重积分的方法

相关推荐
相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7 元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xxxxxx QQ:xxxxxx