Difference between revisions of "Perintah Linux L"

From OnnoWiki
Jump to navigation Jump to search
Line 83: Line 83:
 
=lsattr=
 
=lsattr=
 
=lspci=
 
=lspci=
 +
''Menampilkan informasi perangkat PCI (Peripheral Component Interconnect)''
 +
 +
* Tampilkan semua perangkat PCI beserta vendornya.
 +
lspci <br>
 +
'''Output'''
 +
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
 +
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
 +
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
 +
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
 +
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
 +
dst...
 +
 +
* Tampilkan informasi detail mengenai PCI Audio
 +
 +
  lspci -vv | sed -n '/Audio/,/^$/p'
 +
 
 +
  -vv: Very Verbose
 +
  -| : piping (redirect hasil command ke perintah selanjutnya)
 +
 +
<pre>
 +
Output:
 +
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
 +
Subsystem: ASUSTeK Computer Inc. Device 8445
 +
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 +
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 +
Latency: 0, Cache Line Size: 32 bytes
 +
Interrupt: pin A routed to IRQ 43
 +
Region 0: Memory at feaf8000 (64-bit, non-prefetchable) [size=16K]
 +
Capabilities: <access denied>
 +
Kernel driver in use: HDA Intel
 +
Kernel modules: snd-hda-intel
 +
</pre>
 +
 
=lsmod=
 
=lsmod=
 
=lsusb=
 
=lsusb=

Revision as of 10:14, 17 April 2013

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

last

lastb

lastlog

ld

ldconfig

ldd

less

lesskey

lftp

lftpget

link

ln

Membuat tautan antara dua file

  • Buat tautan multimedia di /var/www/ agar bisa diakses dari jaringan via http
$ sudo ln -s home/brain/macem-macem/multimedia /var/www/multimedia

loadkeys

locale

locate

Menemukan file berdasarkan nama

  • Cari file/direktori yang mengandung kata 'ubuntu' dan 'xmlrpc'
locate ubuntu | grep xmlrpc

lockfile

logger

login

logname

logrotate

look

losetup

lpadmin

lpinfo

lpmove

lpq

lpr

lprm

lpstat

ls

Menampilkan isi direktori

  • Tampilkan isi file berdasarkan tanggal & waktu terbaru
ls -alht
  • Tampilkan hanya nama direktori/file
ls -1
  • Mengurutkan file numeric
ls -1 | sort -n
Contoh output:
Sebelum Sesudah 10.JPG 1.JPG 11.JPG 10.JPG 12.JPG 11.JPG 13.JPG 12.JPG 14.JPG 13.JPG 15.JPG 14.JPG 1.JPG 15.JPG

lsattr

lspci

Menampilkan informasi perangkat PCI (Peripheral Component Interconnect)

  • Tampilkan semua perangkat PCI beserta vendornya.
lspci 
Output 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03) 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01) dst...
  • Tampilkan informasi detail mengenai PCI Audio
 lspci -vv | sed -n '/Audio/,/^$/p'
 
 -vv: Very Verbose
 -| : piping (redirect hasil command ke perintah selanjutnya)
 
Output:
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 8445
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 43
	Region 0: Memory at feaf8000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

lsmod

lsusb