資料來源:http://www.ithome.com.tw/itadm/article.php?c=48394 雖然,這次微軟推出了自家最有信心的代表作──Windows Vista,甚至堪稱是微軟史上最安全的個人電腦作業系統,然而大部分的企業用戶卻不太願意升級Vista。 |
- Apr 19 Sat 2008 09:02
為何企業不願放棄Windows XP
- Apr 15 Tue 2008 23:46
Configuring the Bash Shell
Variables are named values
useful for storing data or command output
設定變數值:variable=value
取出變數傎:echo $value
如:
[root@localhost ~]# john=$(ls /etc/)
[root@localhost ~]# echo $john
a2ps.cfg a2ps-site.cfg acpi adjtime aliases aliases.db alsa alternatives anacrontab asound.state at.deny audit autofs_ldap_auth.conf auto.master auto.misc auto.net auto.smb avahi bashrc blkid bluetooth bonobo-activation capi.conf cdrecord.conf conman.conf cron.d cron.daily cron.deny cron.hourly cron.monthly crontab cron.weekly csh.cshrc csh.login cups dbus-1 default depmod.d desktop-profiles dev.d DIR_COLORS DIR_COLORS.xterm
...skip....
[root@localhost ~]#
- Apr 06 Sun 2008 08:24
程序(process)管理
Process是一段指令的集合被載入到記憶體裡
數值程序 ID(PID) 是用來識別
UID.GID和SELinux context 決定檔案系統存取
使用ps指令可以檢視process information
- Apr 06 Sun 2008 05:58
網路基本組態設定
TCP/IP網路設定主要有四個部份:
賦予一個IP的設定值
啟動或關閉網路裝置
DNS設定(要能夠正反解)
設定預設閘道(Gateway)
網路介面卡通常依序命名為eth0,eth1.......
ifup ethX用來啟動第x網路介面
ifdown ethX關閉第x網路介面
ifconfig ethx 查詢網路組態
- Apr 04 Fri 2008 12:58
Vi文字編輯器
Vi是標準的unix的文字編輯器,共有六種編輯模式。
介紹三種常用的模式:
命令模式(command mode):這是預設的模式,一進入vi時就是此模式,只能下按鍵指令,不能輸入或是編輯文字,這時候可以用來移動游標、剪貼文字改變模式。
插入模式(insert mode):按[i]鍵即可進入此插入模式,這樣才能開始輸入文字寫文章,案ESC鍵又會回到一般模式下。
命令列模式:按冒號[:]就可以到命令列模式,左下角會出現一個冒號":"可以下指令,一般用來離開及儲存。
不管在任何模式下,使用Esc鍵可以離開目前模式回到命令模式
- Mar 31 Mon 2008 16:30
bash shell
bash shell的種類一般常見的有底下幾種:
/bin/sh
/bin/bash
/bin/ksh
/bin/tcsh
Globbing is wildcard expansion:
* -符合任何字元(0或更多)
?-符合任何單一字元
[0-9]-符合0-9範圍的數字
[abc]-符合清單內的任何字元
[^abc]-符合去除清單用的任何字元
- Mar 27 Thu 2008 23:42
Groups and Users,Permissions
USERS:
每一個使用者都有一個UID,root UID=0
Users的UID存在/etc/passwd底下
使用通常都會被賦予一個/home 目錄
只能存取屬於Users自已的檔案
- Mar 27 Thu 2008 02:18
Linux Filesystem structure
- Mar 26 Wed 2008 16:00
Running commands and Getting Help
命令的組成格式中大約包含下列格式:
command(命令)、options(選項)、arguments(參數)
option 有時會用「-」or 「--」
ex:
[root@localhost ~]$ ls --help
用法:ls[選項]..[檔案]...
[root@localhost ~]$ ls -l -a -h