目前分類:Linux (78)

瀏覽方式: 標題列表 簡短摘要

引用 http://peter5.pixnet.net/blog/post/40574778#comments

用網頁方式設定 apache 的虛擬網站,可以安裝 Webmin 來輔助

sean 發表在 痞客邦 留言(0) 人氣()

本文引用 http://freebsd.lab.mlc.edu.tw/apache/VirtualHost.shtml

苗栗縣大湖鄉大南國民小學全球資訊網路架站日誌

sean 發表在 痞客邦 留言(0) 人氣()

mkdir /home/peter

cp -a /etc/skel/. /home/peter

sean 發表在 痞客邦 留言(0) 人氣()

 -u uid ) 指定 uid 編號
 -g gid ) 指定主要群組的 gid 編號或者是群組名稱

sean 發表在 痞客邦 留言(0) 人氣()

  • Aug 20 Mon 2012 11:22
  • $(cmd)

[sean@station62 桌面]$ echo "$(whoami)"
sean

sean 發表在 痞客邦 留言(0) 人氣()

sudo authconfig --passalgo sha512 --update

密碼編碼

sean 發表在 痞客邦 留言(0) 人氣()

4個放置帳號內容的檔案

/etc/passwd 

sean 發表在 痞客邦 留言(0) 人氣()

離開 vi

ZZ :wq :x 先存檔再離開

sean 發表在 痞客邦 留言(0) 人氣()

reqular express

正規表示式用特定符號來表示文字出現的規則

sean 發表在 痞客邦 留言(0) 人氣()

Linux 系統環境下,所有週邊裝置皆以檔案方式應對管理
所有裝置檔案皆放置於系統 /dev 目錄

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 tmp]$ wget ftp://192.168.1.254/pub/firefox/firefox-14.0.1.tar.bz2

--2012-08-15 11:17:59--  ftp://192.168.1.254/pub/firefox/firefox-14.0.1.tar.bz2

sean 發表在 痞客邦 留言(0) 人氣()

  • Aug 15 Wed 2012 10:11
  • tar

打包

tar -cvf backup.tar /bin

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 tmp]$ cd report
[sean@station62 report]$ cp /etc/passwd 1.txt

sean 發表在 痞客邦 留言(0) 人氣()

  • Aug 14 Tue 2012 12:38
  • cp

基本範例

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 tmp]$ ln -s /etc/passwd passwd.txt
[sean@station62 tmp]$ cat passwd.txt

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 tmp]$ for name in {1..10}
> do echo $name

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 tmp]$ rename .htm .html *
[sean@station62 tmp]$ ls

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 tmp]$ mkdir {0..9}
[sean@station62 tmp]$ ls

sean 發表在 痞客邦 留言(0) 人氣()

    1  adduser
    2  adduser sean

sean 發表在 痞客邦 留言(0) 人氣()

[sean@station62 桌面]$ history
    1  ls

sean 發表在 痞客邦 留言(0) 人氣()

1 234