国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > Linux > 正文

linux basic commands

2024-06-28 13:19:17
字體:
供稿:網(wǎng)友
linux basic commands

1. man - an interface to the on-line reference manuals

$man man

2. apt - advanced package tool

  SEE ALSO: apt-cache, apt-get, apt.conf, sources.list

$apt-cache search MySQL

3.sudo - execute a command as another user (sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.)

$sudo apt-get install python2.7

4.su - change user ID or become superuser

cc@debian:~$suPassWord:root@debian:/home/cc#su -- cccc@debian:~$

5. ls - list directory contents

$ls -l
$ls -la

6. pwd - PRint name of current/working directory

$pwd

7. mkdir - make directories

$mkdir test1

8. mv - move (rename) files

$mv test1 test2

9.rm - remove files or directories

$rm -fr test2

10.more, less - file perusal filter for crt viewing (a filter for paging through text one screenful at a time.)

$man more|less

note: '|' is pipeline, see more on wiki about pipeline

11.grep - grep, egrep, fgrep, rgrep - print lines matching a pattern

$ls -la|grep django-web

12.chown - change file owner and group

#chown root /u#chown root:staff /u

13.chmod - change file mod bits

#mkdir /data#chmod 777 /data


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 凤城市| 缙云县| 家居| 大理市| 沽源县| 包头市| 葫芦岛市| 马山县| 察雅县| 丰都县| 永平县| 宝应县| 上栗县| 泽普县| 正蓝旗| 太湖县| 新巴尔虎左旗| 岚皋县| 海兴县| 沽源县| 丰原市| 光山县| 赫章县| 保亭| 扶风县| 临西县| 罗江县| 县级市| 汝州市| 厦门市| 兴业县| 镇原县| 罗江县| 景德镇市| 台北市| 右玉县| 龙川县| 淮阳县| 鞍山市| 平泉县| 阳曲县|