admin管理员组文章数量:1642473
工作站的使用与管理Linux
工作站的使用與管理──Linux ( 陳明凱 編撰 )
工作站的使用與管理──Linux
第一章 基本指令
第二章 檔案系統
第三章 網路工具
第四章 使用者帳號
第五章 安裝軟硬體
第六章 開機與關機
第七章 Shell 的探討
第八章 awk 與gawk 的使用
第九章 vi 與emacs 的使用
1
工作站的使用與管理──Linux ( 陳明凱 編撰 )
第一章 基本指令
第一節 了解本身
tty: return user's terminal name, ex: tty.
echo: echo arguments, ex: echo "$USER's current directory is $PWD\c".
who: who is on the system, ex: who.
whoami: display the effective current username, ex: whoami.
w: display information about currently logged-in users, ex: w.
passwd: change login password and password attributes, ex: passwd.
指令 功能 實例 顯示
tty 傳回終端機名稱 tty /dev/pts/2
echo 傳回顯示參數 echo " I am OK" I am OK
who 傳回系統線上的使用者 who
whoami 傳回現在有效終端機的使用者 whoami guykiko
w 傳回現在登入者所做的資訊 w
passwd 更改現在登入者的密碼 passwd
第二節 檔案與目錄
ls: list contents of directory, ex: ls –al.
cd: change working directory, ex: ch ~.
mkdir: make directories, ex: mkdir temp.
rm: remove directory entries, ex: rm readme, \rm –r temp.
rmdir: remove directory entries, ex: \rm –r temp.
cp: copy files, ex: cp test obsinfo.
mv: move files, ex: mv test obsinfo,
source: shell built-in functions to execute other commands, ex: source ~/.cshrc.
指令 功能 實例 顯示
ls 傳回目前目錄的所有子目錄和檔案 ls -al
cd 更改目前的工作目錄 cd ~
mkdir 製造新的資料夾 mkdir temp
rm 刪除檔案 \rm –r temp
rmd
版权声明:本文标题:linux deliver分发管理,工作站的使用与管理Linux.PDF 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1729331198a1196412.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论