linux deliver分发管理,工作站的使用与管理Linux.PDF

工作站的使用与管理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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值