FreeBSD Command Tools
May 21st, 2006 by song

FreeBSD Command Tools

FreeBSD Command Tools

第一步
我如何离线?(exit)
我如何停止电脑?(shutdown -h now)
我如何重新激活计算机? (shutdown -r now)
我如何在单使用者模式下停止系统? (shutdown now)
我如何切换终端机? (ALT-F*)

文件
我如何阅读 manual page? (man) Read the rest of this entry »

Free BSD 常用指令簡述
May 21st, 2006 by song

Free BSD 常用指令簡述
——————————————————————————–
注意! 大小寫英文字母在 BSD上是完全不同的。
telnet 連線到指定的主機 (可用 IP或主機名稱)。
telnet 210.240.119.251 或 telnet bbs.pnjh.ttct.edu.tw
exit 離開目前連線之主機,
或退出目前化身的使用身份。
shutdown shutdown -h now 立即進行關機程序 (root專用)
shutdown -r now 立即進行關機程序並重新啟動 (root專用)。
ls ls   顯示目前目錄資料,如同 DOS之 dir
ls /etc  顯示 /etc目錄資料。
ls -al  顯示目前目錄之詳細資料。
ls -al | more 顯示目錄,滿一頁時暫停,按空格繼續。
more more hosts 顯示 hosts檔內容,滿一頁時暫停,按空格繼續。
mkdir mkdir temp 建立 temp 目錄。
cd cd /etc  切換到 /etc目錄
cd ..   切換到上一層目錄 Read the rest of this entry »

初学指南
May 21st, 2006 by song

原文地址: http://www.yarshure.com/FreeBSD_tips.php

一系统篇

1 环境变量:文件/etc/profile,
BLOCKSIZE=K; export BLOCKSIZE(通用)
文件~.cshrc BLOCKSIZE K
setenv
my cshrc
代理服务器的使用
HTTP 的代理: #setenv HTTP_PROXY http://proxyip:port
FTP 的代理: #setenv FTP_PROXY http://proxyip:port
2 下载文件
$fetch url
$wget url(下载文件缺省放在当前目录)
$wget -t0 -c -nH -np -b -m WRL -o wget.log (镜像)
3 进入单用户修改系统
boot -s
#mount -u /
#moutn -a Read the rest of this entry »

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »