linux中常用的命令

显示文件目录命令ls        如ls

改变当前目录命令cd        如cd /home

建立子目录mkdir           如mkdir xiong

删除子目录命令rmdir       如rmdir /mnt/cdrom

删除文件命令rm            如rm /ucdos.bat

文件复制命令cp            如cp /ucdos /fox

获取帮助信息命令man      如man ls

示文件的内容less        如less mwm.lx

重定向与管道type          如type readme>>direct,将文件readme的内容追加到文direct中

 

补充:

在学习的过程中收集了一些。

文件管理:

ls -- LiSt

cd -- Change Directory

pwd -- Print Working Directory

cp -- CoPy

mv -- MoVe

rm -- ReMove

pushd -- PUSH to Directory

popd -- POP from Directory

mkdir -- MaKe DIRectory

rmdir -- ReMove DIRectory

cat -- CATenate

sed -- Stream EDitor

diff -- DIFFerence

wc -- Word Count

chmod -- CHange MODe

chown -- CHange OWNer

chgrp -- CHange GRouP

awk -- Aho Weinberger andKernighan

gawk -- Gnu Aho Weinberger andKernighan

grep -- General RegularExpression Print

ln -- LiNk

tar -- TARball

 

硬件管理:

df -- Disk Free

du -- Disk Usage

dd -- Data Description(一说是Convertand Copy,但是cc被用掉了,就用dd了)

parted -- PARTition EDitor

lspci -- LiSt PeripheralComponent Interconnect

lscpu -- LiSt Central ProcessUnit

lsusb -- LiSt Universal SerialBus

lsblk -- LiSt BLock

fdisk -- format DISK

mdadm -- Multiple Disk AndDevice M anager

 

 

系统管理:

depmod -- DEPend MODule

lsmod -- LiSt MODule

modprobe -- MODule PROBE

modinfo -- MODule INFOrmation

insmod -- INSert MODule

rmmod -- ReMove MODule

mkfs -- Make FileSyatem

fsck -- File SystemConsistency Check

ps -- Processes Status

su -- Substitute User

bash -- Bourne Again SHell

init -- INITialization

ssh -- Secure SHell

wine -- Wine Is Not anEmulator

exec -- EXECute

fstab -- FileSystem TABle

passwd -- PASSWorD

chpasswd -- Change PASSWORD

pwconv -- PassWord CONVERT

pwunconv -- PassWord UNCONVERT

tty -- TeleTYpe

sudo -- SuperUser DO

grub -- GRand UnifiedBootloader

tzselect -- Time Zone SELECT

sync -- SYNChronize

systemd -- SYSTEM Daemon

 

lvm:

lvm -- Logical Volume Manager

pvcreate -- Physical VolumeCREATE

vgcreate -- Volume GroupCREATE

lvcreate -- Logical VolumeCREATE

pvdisplay -- Physical VolumeDISPLAY

vgdisplay -- Volume Grou[DISPLAY

lvdisplay -- Logical VolumeDISPLAY

pvresize -- Physical VolumeRESIZE

vgresize -- Volume Group RESIZE

lvresize -- Logical VolumeRESIZE

pvextend -- Physical VolumeEXTEND

vgextend -- Volume GroupEXTEND

lvextend -- Logical VolumeEXTEND

pvremove -- Physical VolumeREMOVE

vgremove -- Volume GroupREMOVE

lvremove -- Logical VolumeREMOVE

pvs -- Physical Volume Status

vgs -- Volume Group Status

lvs -- Logical Volume Status
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值