gumara

เหนือกว่าเหตุผล ผมไม่มีเหตุผล

Ubuntu command-line

Submitted by gumara on Sat, 05/31/2008 - 02:25

เตรียมของสอนอีกล๊ะ คราวนี้เรื่อง command-line โน๊ตไว้ลวกๆ เผื่อหาย ไว้ทำเป็นสไลด์แล้วจะเอามาแจก ที่แย่คือ ผมต้องทำอิงความเข้าใจของผมเอง ซึ่งบางทีมันอาจจะผิดก็ได้ แต่ในอีกแง่นึงแล้ว อิงตามความเข้าใจ คนเรียนก็น่าจะเข้าใจได้ง่ายกว่า ล่ะมั๊งนะ

Why shoud know command

Terminal structure
tty1

Command pattern
-

Path
. .. ~

File
file directory link hidden

Anotherone TA
Man --help

Basic Command
echo clear reset ls touch mkdir rm rmdir cd cp mv time date calendar pwd whoami

Admin User
adduser useradd addgroup remove user chmod chown

Manage text
head tail more less vim nano grep cat sed

Application & Utility
lsusb fdisk mount umount ttyrec ln finger tar zip alias script chroot uname history

Administrator tools
network config /etc/network/interfaces su sudo shutdown poweroff reboot init6 init0 ssh scp key cron foreground $HOME $PATH

Apt
config repository apt-get update search show install remove

Service
ps pstree top htop kill xkill init.d

MySQL Command
create show dump

Forward output
; && < > 0 1 2

Shell script
#!

[tab]

wine

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

rMilk

Comment

Tags

Another ~


Let's chat

User login

del.icio.us/~

Add to Technorati Favorites


Stat:

free web tracker