CentOS 學習筆記

來源:互聯網
上載者:User

標籤:user   ref   下載檔案   scn   檔案名稱   方法   ls -l   伺服器   sina   

資料來自網路收集,分享和筆記

 

【如何選擇你需要的Linux版本】

【伺服器版本】

http://jingyan.baidu.com/article/11c17a2c143101f446e39d3b.html

【案頭應用版本】

http://os.51cto.com/art/201307/404309.htm

【2016Linux排行】

http://www.ithome.com/html/it/201621.htm

http://www.linuxidc.com/Linux/2016-01/127138.htm

 

001、 查看目前的目錄
# pwd

=======================================================================================================================


002. 建立目錄
# mkdir software

 

=======================================================================================================================


003. 進入目錄
# cd root/kevin

=======================================================================================================================


004. 查看當前路徑下面的所有檔案夾
【參考】:http://www.centoscn.com/CentOS/help/2013/1024/1967.html
說明:ls 顯示結果以不同的顏色來區分檔案類別。藍色代表目錄,灰色代表普通檔案,綠色代表可執行檔,紅色代表壓縮檔,淺藍色代錶鏈接檔案。
另外 cd ~ = cd root , 表示回到系統根目錄

# ls -la
或者 #ls -la root
說明:在Linux系統中,以“.”開頭的就是隱藏檔案或隱藏目錄。

說明:ls -l命令可以簡寫成ll,

輸出的資訊共分為7組:
檔案類別和檔案許可權、連結數或子目錄個數、檔案所有者、檔案所屬組、檔案大小(單位為位元組B)、檔案建立或修改時間、檔案名稱。

檔案類別:第一組前1位表示檔案類別,“-”代表普通檔案,“d”代表目錄,“l”代表符號連結,“c”代表字元裝置,“b”代表塊裝置
檔案許可權:第一組後9位表示檔案許可權,前3位為user、中間3位為group、後三位為other的許可權

-d---顯示目錄本身的屬性而不是目錄中的內容。

=======================================================================================================================


005. 查看本機IP資訊
# ifconfig -a

=======================================================================================================================


006. 查詢公網IP
# curl ifconfig.me

查詢公網IP
# tracepath www.sina.com

=======================================================================================================================


007. 設定IP地址
【參考】http://jingyan.baidu.com/article/e4d08ffdd417660fd3f60d70.html

=======================================================================================================================


008. 定時任務Crontab命令【重要】
http://www.centoscn.com/CentOS/help/2014/1030/4025.html

=======================================================================================================================


009. 下載檔案 wget命令詳解
http://www.centoscn.com/CentOS/help/2013/0803/914.html ;

=======================================================================================================================


010. 正確關機方法
http://www.centoscn.com/CentOS/2014/0606/3098.html ;

=======================================================================================================================


011. LVM磁碟管理學習【重要】
http://www.centoscn.com/CentOS/Intermediate/2015/1106/6395.html ;

=======================================================================================================================


012. 查看連接埠佔用情況和開啟連接埠命令
http://www.centoscn.com/CentOS/help/2013/0725/558.html

=======================================================================================================================


013. 建立一個新使用者
http://www.centoscn.com/CentOS/help/2013/0725/597.html

=======================================================================================================================


014. CentOS7 (精簡操作指令) 【重要】
http://www.centoscn.com/CentOS/help/2016/0429/7147.html ;

=======================================================================================================================


015. CentOS如何查看硬碟品牌型號等具體資訊
http://www.centoscn.com/CentOS/help/2015/0705/5803.html

=======================================================================================================================


016. Linux常用命令大全
http://www.centoscn.com/CentOS/help/2015/0712/5843.html

=======================================================================================================================


017. CentOS系統管理相關命令
http://www.centoscn.com/CentOS/help/2015/1030/6358.html ;

=======================================================================================================================


018. CentOS下tar解壓 gz解壓 bz2等各種解壓檔案使用方法
http://www.centoscn.com/CentOS/help/2014/0613/3133.html

=======================================================================================================================


019. CentOS中zip壓縮和unzip解壓縮命令詳解
http://www.centoscn.com/CentOS/help/2013/0826/1448.html

=======================================================================================================================


020. Centos tar壓縮與解壓縮命令大全
http://www.centoscn.com/CentOS/help/2013/0725/496.html

=======================================================================================================================


021. CentOS 7 firewalld使用簡介
http://www.centoscn.com/CentOS/help/2015/0208/4667.html

=======================================================================================================================


022. CentOS只查看檔案夾的幾種方法
http://www.centoscn.com/CentOS/help/2015/0705/5799.html

=======================================================================================================================


023. CentOS SSH安裝與配置
http://www.centoscn.com/CentOS/config/2013/0926/1713.html

=======================================================================================================================


024. CentOS伺服器時間同步的2種方法
http://www.centoscn.com/CentOS/config/2013/1017/1878.html

=======================================================================================================================


025. CentOS下安裝軟體的常用方法
http://www.centoscn.com/CentOS/2012/1226/96.html

=======================================================================================================================


026. CentOS7.0下載各版本說明 新增Everything版
http://www.centoscn.com/CentOS/2014/0708/3268.html

=======================================================================================================================


027. CentOS常用命令 ---- grep命令
http://www.centoscn.com/CentOS/help/2016/0816/7789.html

=======================================================================================================================


028. CentOS 基礎命令 【重要】
http://www.centoscn.com/CentOS/help/

=======================================================================================================================


029. CentOS 系統配置 【重要】
http://www.centoscn.com/CentOS/config/ ;

=======================================================================================================================


030. CentOS 中級進介 【重要】

http://www.centoscn.com/CentOS/Intermediate/

 

CentOS 學習筆記

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.