常用命令和配置整理

lsb_release -a 

FSG lsb_release v2.0 prints certain LSB (Linux Standard Base) and Distribution information.

  With no OPTION specified defaults to -v.

查看系统日志

/var/log/messages 

/var/log/secure 


看做哪些操作一般不太可能,   可以用history看用了哪些命令. 
last,lastb命令查看最近登陆的用户.

repo文件用于yum install *** 软件自动安装的寻址设置到本地目录/etc/yum.repos.d/888.repo

[iso]

baseurl=file:///mnt/iso

gpgkey=file:///mnt/iso/RPM-GPG-KEY-redhat-beta

failovermethod=priority

enabled=1

gpgcheck=0

mount 挂载远端目录

mkdir -p /mnt/share

mount -t cifs -o username=administrator,password=123456 192.168.1.20:Download /mnt/share

转载于:https://www.cnblogs.com/magicyang/archive/2011/08/23/2150469.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值