2007年5月29日 星期二

lx02 linux power user textbook 20070520-2

touch mylog`date +%d`
date +%D (%F %T)



cal
cal -3 ; cal 3 2009 ; -y
(前後共三個月) (整年)

w ; who
(data from /var/run/utmp)

finger finger name
chfn -- change finger info

write ; wall ; talk write name
(broadcast to all)
mesg y/n

history n號指令 !n !! (前一個指令)

vlock (lock terminal) (-a)
(fedora 6 好像沒有了)


2007年5月21日 星期一

lx02 linux power user textbook 05202007

lx02 linux power user textbook
這本是一組12000元的書的第一本
e某找不到

MBR: Portition Table first 512K

primary/extend disk 只能1~4 也就是hda1....hda4
as the tme time, Logical disk from 5 to 16/63
extened partition holds THREE logical

Command: service network restart network service restart as it decribes :)

磁碟分割範例
{ /boot 100mb
{ / 4gb
{ /home 500mb
{ /var 2gb
{ swap 256mb

dd if=/media/images/diskboot.img of=/dev/sda
指令是讓sda (一個usb碟 可以當成開機 使用小小的隨身碟就好了)

ls --help (跟man ls 看到差不多)
ls -alih
id

passwd mkpasswd
echo "RealPassword" | passwd -- stdin Name (改密碼指輸入一次的方法)

useradd

date `` 命令代換