Difference between revisions of "Perintah Linux I"
Jump to navigation
Jump to search
Gibransyah (talk | contribs) |
Gibransyah (talk | contribs) (→id) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
=iconv= | =iconv= | ||
=id= | =id= | ||
+ | ''Menampilkan id dan group suatu user' | ||
+ | * Tampilkan id user brain dan di group mana saja ia terdaftar | ||
+ | id brain | ||
+ | ''ex output: uid=1000(brain) gid=1000(brain) groups=1000(brain),4(adm),20(dialout),24(cdrom),46(plugdev),111(lpadmin),119(admin),122(sambashare),131(vboxusers)'' | ||
+ | |||
=ifconfig= | =ifconfig= | ||
''Mengkonfigurasi kartu jaringan'' | ''Mengkonfigurasi kartu jaringan'' | ||
Line 35: | Line 40: | ||
* Set Alamat IP eth0 ke 192.168.1.100 | * Set Alamat IP eth0 ke 192.168.1.100 | ||
ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up | ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up | ||
+ | * Tampilkan detail semua kartu jaringan, termasuk yang disable | ||
+ | ifconfig -a | ||
+ | * Nonaktifkan kartu jaringan eth0 | ||
+ | ifconfig eth0 down | ||
+ | * Aktifkan kartu jaringan eth0 | ||
+ | ifconfig eth0 up | ||
+ | * Ganti subnet kartu jaringan eth0 | ||
+ | ifconfig eth0 netmask 255.255.255.0 | ||
=imapd= | =imapd= | ||
Line 40: | Line 53: | ||
=info= | =info= | ||
=init= | =init= | ||
+ | ''Upstart process management daemon'' | ||
+ | * Mematikan komputer | ||
+ | init 0 | ||
+ | |||
=insmod= | =insmod= | ||
=install= | =install= |
Latest revision as of 14:56, 22 May 2012
Indeks - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z
iconv
id
Menampilkan id dan group suatu user'
- Tampilkan id user brain dan di group mana saja ia terdaftar
id brain ex output: uid=1000(brain) gid=1000(brain) groups=1000(brain),4(adm),20(dialout),24(cdrom),46(plugdev),111(lpadmin),119(admin),122(sambashare),131(vboxusers)
ifconfig
Mengkonfigurasi kartu jaringan
- Melihat IP dan Mac Address kartu jaringan di mesin aktif
ifconfig
- Set Alamat IP eth0 ke 192.168.1.100
ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up
- Tampilkan detail semua kartu jaringan, termasuk yang disable
ifconfig -a
- Nonaktifkan kartu jaringan eth0
ifconfig eth0 down
- Aktifkan kartu jaringan eth0
ifconfig eth0 up
- Ganti subnet kartu jaringan eth0
ifconfig eth0 netmask 255.255.255.0
imapd
inetd
info
init
Upstart process management daemon
- Mematikan komputer
init 0