作者 主題: http://www.hklpg.org/~vfong/course/admin.operation.html  (閱讀 754 次)

0 會員 與 1 訪客 正在閱讀本文。

linuxcoke

  • 懷疑的國中生
  • **
  • 文章數: 34
    • 檢視個人資料
Basic Operation

User Home Directory
"~" path notation
"~" is an built in alias of current user's home directory.
You can use this in file path mentioning or program execution.

e.g.
cd ~/tmp
Will bring you to the directory:
/home/{current_user}/tmp/

While running the program:
~/bin/myprog
Will actually call the program:
/home/{current_user}/bin/myprog