platform : Fedora

command hari ini :
- ps - to view process...process yg sdg berjln dlm machine kita msa tu
#ps au
#ps aux

a = all process
u = user level
x = show every process

- kill - to terminate a process
#kill -9 4498

4498 tu process id yg sy amek lpas wat ps command
-9...erm cikgu linux tu kata, ni powerful level bg terminate process yg degil

- | - ni namanya pipe dimana nk msukkn result 1 process ke dlm process yg lain
#ps aux | grep blackjack

so...resultnya kuar process blackjack je

- usermod - modify a user account
#usermod -e YYYY-MM-DD user-account
#usermod -e 2009-04-24 spy

e = expired date
So, expired date for spy is 24/4/2009. After tarikh ni, spy da xleh gune account ni da. Cam roti expired la kan.

- Run level...yg ni bkn command tp ia ada kaitan ngn penggunaan run level
0 = halt
1 = single user mode
2 = multiple without NFS
3 = full multiuser mode without GUI
4 = unused
5 = XII - GUI mode (server yg kawal)

kalo kita nk tukar runlevel, g la kat /etc/inittab. Try gantikan runlevel yg biasanya 5 kp 3 kmudia restart. Xde kuar GUI pn kn. So, kalo runlevel 3 nk jugak main2 kat GUI taipla startx n press enter...ha, mest dpt da kn screen GUI tu.

- mount - nk mount ape2 yg patot...cthnya pendrive, kalo pendrive anda tu unmount n xleh mount.
#mount -t iso9660 /dev/cdrom /mnt/cdrom

- umount - digunakn utk umount la kan.
#umount -t iso9660 /dev/cdrom /mnt/cdrom

sng je kn...tp slama ni msa kat klas Ubuntu dlu....xpnah jd pon bila wat mount point ni. Lg 1, kalo nk kuarkn cd pon leh gune command nih #eject ....surela terbuka sendri cd holder tu.

Ha...kat ats tu antara yg saya blaja hari nih...skit je kn...padahal dr kol 8pg sampai 4.30ptg...sekian saje...jumpe esok kalo sy rajin nk taip semula nota2 yg sy salin...ok.

0 comments:

Post a Comment