助我成功之 Linux笔记(一)

1.命令提示符

#,$

 

2.不同的shell

bash,sh,csh,tcsh

 

3.通配符

*,?

 

4.命令自动补齐键

TAB

 

5.目录操作

cd /

cd ..

cd ~

 

6.目录介绍

/bin

/boot

 

7.关闭计算机 

halt

快速重启计算机:ctrl + alt + del

定时关机:shutdown -t 54000   、  crontab

 

8.Linux、DOS命令对照表

LS         DIR

CP         COPY

CD         CD

MKDIR      MD

RMDIR      RD

RM         DEL

MORE       TYPE

CLEAR      CLS

PWD        无

MAN        HELP

DU         DIR

MV         REN,MOVE

 

9.Cat

 

10.CP

 

11.date

 

12.df

 

13.du

 

14.echo

 

15.快捷键进程操作

ctrl + c  前台终止进程

ctrl + z  前台中断进程

ctrl + d  终止输入退出shell

ctrl + s  中断输出

ctrl + q  继续输出

ctrl + o  停止输出

ctrl + l  清屏

 

16.file

 

17.find

 

18.grep

在文件中搜索匹配的行并输出

 

19.kill

kill -9 2030

 

20.显示进程

ps -a

top

 

21.ls

ls -a

ls -l

ls /

 

22.locate

 

23.注销

logout

exit

 

24.mkdir,rmdir

 

25.more

 

26.mount,umount

 

27.mv

 

28.passwd

 

29.ps

 

30.pstree

 

31.pwd

 

32.reboot

 

33.rm

 

34.sync

 

35.gzip,gunzip

 

36.tar

 

37.rpm

 

38.ping

 

39.ifconfig

 

40.telnet

 

41.ftp

 

42.vi

 

43.grub

 

44.useradd

 

45.su,sudo

 

46.文件权限读写详解

 

47.chmod

 

48.chown

 

49.startx

 

50.www服务器

 

51.ftp服务器

 

52.samba文件打印服务器

 

53.访问windows分区

mount -t vfat/dev/hda5 /mnt/d

 

54.linux支持fat32文件系统

mount -t vfat/dev/hda1/mnt

 

55.开机加载光驱

 

56.linux help

man

info

--help

 

57.linxu客户端

putty.exe

 

58.linux网络命令

route

netstat

tcpdump

dmindecode

traceroute

tracert

nslookup

arp

net

 

59.linxu定时执行任务

cron

 

60.进程放入后台执行

调入后台:& 进程id , ctrl + z  , nohup ./startup.sh&

调回前台:fg 进程id

 

61.linux软件安装

apt -get install xxxx

 

62.修改其他用户拥有root权限

useradd user1

su user1

sudo passwd root

 

63.linxu新建文件

touch

vi

echo

cat

less

more xyz > filename4

ls

tail -f

mv

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值