Log in
Quote of the Day
Latest topics
» Diablo III Officially Announced, Release Date: Whenever it's finished :p (RPG)by caer Today at 8:09 am
» [Lagu sedap~] Chris Medina - What Are Words
by Admin Yesterday at 11:31 pm
» [Lagu sedap~] Taylor Swift - Eyes Open
by Admin Yesterday at 9:56 pm
» Vindictus - How to play?
by sID Yesterday at 2:24 pm
» Toyota GT86
by murasame_85 Tue May 22, 2012 7:34 am
» MedialabStudio@Kaunter Tiket Bas Cuti Jumaat INI (25/5)- Isnin (28/5)
by jemin86 Mon May 21, 2012 10:37 pm
» Proton Shark ala CRZ
by murasame_85 Mon May 21, 2012 5:58 pm
» Penutupan sementara Kaunter TIKET BAS UMP
by samuraiz Mon May 21, 2012 5:39 pm
» Andoid tut Apple~
by samuraiz Mon May 21, 2012 5:37 pm
» the private scene behind Avengers~
by samuraiz Fri May 18, 2012 3:50 am
UMPlife Chatbox
Top posters
| MusTanG (4298) | ||||
| theMVP (3628) | ||||
| aku la????? (3355) | ||||
| cicok (3333) | ||||
| nazkill (3286) | ||||
| asuramaru (3189) | ||||
| zicron21ck (3150) | ||||
| Admin (2987) | ||||
| Castielle Zaidrick (2608) | ||||
| murasame_85 (2506) |
UMPlife Partner Board
UMPlife Chinese Forum
Suburbanzero
Rowie's Scribbles
- d0r! - d0r! ruL3z -
EVOLUSI SAGA FIORE
AM's LiFeZ RuLeS
Laman ServerRooms
MTA Studio
[@][p][!]
nama saya din
zicronzick blog
BudakSedangBelajar
UMPOpenSC
mishyanikookoo
MTA life
inilah kehidupanku
teratak silam
GERABAK MEKANIKAL
kuchenghitam
+ WE LEAD THE FUTURE+ (^^)/
UMP Store
kibotnmos
Shazril Shaedi
Bakpo Gitu?
Fadzrulhisyam
Blogger UMP
Secawan Kopi Panas...
Rionix
Invincible Generation
RoCkStaR site
sollehahn.com
c0l0r 0f my s0ul
I'm not Alone
umpsharing
Blog adib
Ahli Karut
darimo's blurp
lady afiefa
Black Winter
just4khai
blog404
UFun
UMPlife Sponsor
Command line in terminal (linux OS)
Page 1 of 2 • Share •
Page 1 of 2 • 1, 2 
Command line in terminal (linux OS)
jom la kte sme share command line kt cini...
ak buat umum(linux OS) sbb dlm linux command line nye same je..
tp yg bezanye adalh command root authority nye sahaja..
p/s:jka nk ade tmbah atau pmbetulan silakn...
ak buat umum(linux OS) sbb dlm linux command line nye same je..
tp yg bezanye adalh command root authority nye sahaja..
p/s:jka nk ade tmbah atau pmbetulan silakn...


Qorel- Secondary Member

- Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)
Re: Command line in terminal (linux OS)
Play Mp3 on Terminal (ubuntu)
STEPS
1. Install XMMS2
qorel@qorel$ sudo apt-get install xmms2
1. PLAYING A SONG
I want to play this song: song.mp3 located in /home/qorel/music/album1/song.mp3
To play that, I run this command:
qorel@qorel$ xmms2 play /home/qorel/music/album1/song.mp3
2. ADDING A FOLDER TO THE PLAYLIST
qorel@qorel$ xmms2 radd /home/qorel/music/album1
Now, to make sure that our playlist actually has something on it, and that the folder has been added, we execute this command:
qorel@qorel$ xmms2 list
-> Random Artist - song (1:00)
Random Artist - song2 (1:00)
Random Artist - song3 (1:00)
Random Artist - song4 (1:00)
Random Artist - song5 (1:00)
Random Artist - song6 (1:00)
Random Artist - song7 (1:00)
Random Artist - song8 (1:00)
Random Artist - song9 (1:00)
Random Artist - song10 (1:00)
Total Playtime is 00:10:00
Take note of this sign: ->
This shows you the currently selected track.
To start playing the songs in the playlist execute:
qorel@qorel$ xmms2 play
Basically that's it. To show a list of commands that you could use simply do this:
qorel@qorel$ xmms2
STEPS
1. Install XMMS2
qorel@qorel$ sudo apt-get install xmms2
1. PLAYING A SONG
I want to play this song: song.mp3 located in /home/qorel/music/album1/song.mp3
To play that, I run this command:
qorel@qorel$ xmms2 play /home/qorel/music/album1/song.mp3
2. ADDING A FOLDER TO THE PLAYLIST
qorel@qorel$ xmms2 radd /home/qorel/music/album1
Now, to make sure that our playlist actually has something on it, and that the folder has been added, we execute this command:
qorel@qorel$ xmms2 list
-> Random Artist - song (1:00)
Random Artist - song2 (1:00)
Random Artist - song3 (1:00)
Random Artist - song4 (1:00)
Random Artist - song5 (1:00)
Random Artist - song6 (1:00)
Random Artist - song7 (1:00)
Random Artist - song8 (1:00)
Random Artist - song9 (1:00)
Random Artist - song10 (1:00)
Total Playtime is 00:10:00
Take note of this sign: ->
This shows you the currently selected track.
To start playing the songs in the playlist execute:
qorel@qorel$ xmms2 play
Basically that's it. To show a list of commands that you could use simply do this:
qorel@qorel$ xmms2

Qorel- Secondary Member

- Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)
Re: Command line in terminal (linux OS)
eza antara OS nie
kt dpn tu sudo(ubuntu) , yum(fedora) , n lain2 aku lupa huhu
1.acpi -V -display temperature
syadow@syadow:~$ acpi -V
AC Adapter 0: on-line
Thermal 0: ok, 88.0 degrees C
Cooling 0: LCD 10 of 10
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
p/s 88. 2 perkara biasa
3. history -display all history command
4.iftop -monitor eth0
sudo iftop
12.5Kb 25.0Kb 37.5Kb 50.0Kb 62.5Kb
└───────────────┴───────────────┴───────────────┴───────────────┴───────────────
────────────────────────────────────────────────────────────────────────────────
TX: cumm: 0B peak: 0b rates: 0b 0b 0b
RX: 0B 0b 0b 0b 0b
TOTAL: 0B 0b 0b 0b 0b
kt dpn tu sudo(ubuntu) , yum(fedora) , n lain2 aku lupa huhu
1.acpi -V -display temperature
syadow@syadow:~$ acpi -V
AC Adapter 0: on-line
Thermal 0: ok, 88.0 degrees C
Cooling 0: LCD 10 of 10
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
p/s 88. 2 perkara biasa
3. history -display all history command
4.iftop -monitor eth0
sudo iftop
12.5Kb 25.0Kb 37.5Kb 50.0Kb 62.5Kb
└───────────────┴───────────────┴───────────────┴───────────────┴───────────────
────────────────────────────────────────────────────────────────────────────────
TX: cumm: 0B peak: 0b rates: 0b 0b 0b
RX: 0B 0b 0b 0b 0b
TOTAL: 0B 0b 0b 0b 0b

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
apt-get install "application"- nak install app 2.
apt-get update - update source
apt-get upgrade - lbih kurang ko run update manager dlm terminal huhu
apt-cache seach "apa2 hint application 2" - display detail of that application
syadow@syadow:~$ sudo apt-cache search finch
finch - text-based multi-protocol instant messaging client
finch-dev - text-based multi-protocol instant messaging client - development
syadow@syadow:~$
apt-get update - update source
apt-get upgrade - lbih kurang ko run update manager dlm terminal huhu
apt-cache seach "apa2 hint application 2" - display detail of that application
syadow@syadow:~$ sudo apt-cache search finch
finch - text-based multi-protocol instant messaging client
finch-dev - text-based multi-protocol instant messaging client - development
syadow@syadow:~$

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
user biase akn gne synaptic package manager untk install package(app)..dan ini cra untk install mlalui command line terminal..
bukak Application>Accessories>Terminal
*install package
sudo apt-get install packagename
*conth
sudo apt-get install mpd sbackup
*untk buang package
sudo apt-get remove packagename
*untk buang semua dependencies
sudo apt-get autoremove
*conth
sudo apt-get remove mpd sbackup
*mencari package
apt-cache search
*conth
apt-cache search Music MP3
apt-cache search “Text Editor”
*untk update apt package database slpas adding/removing repositories
sudo apt-get update
*untk upgrade package
sudo apt-get upgrade
*untk upgrade seluruh distribution (e.g. from Jaunty to Karmic):
sudo apt-get dist-upgrade
bukak Application>Accessories>Terminal
*install package
sudo apt-get install packagename
*conth
sudo apt-get install mpd sbackup
*untk buang package
sudo apt-get remove packagename
*untk buang semua dependencies
sudo apt-get autoremove
*conth
sudo apt-get remove mpd sbackup
*mencari package
apt-cache search
*conth
apt-cache search Music MP3
apt-cache search “Text Editor”
*untk update apt package database slpas adding/removing repositories
sudo apt-get update
*untk upgrade package
sudo apt-get upgrade
*untk upgrade seluruh distribution (e.g. from Jaunty to Karmic):
sudo apt-get dist-upgrade

Qorel- Secondary Member

- Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)
Re: Command line in terminal (linux OS)
terlupa satu bnde...
biasenye rmai pngguna ubuntu ingin run sftware tetingkap kn...
jd,untuk run tetingkap pnye app kte kne install WINE..
fungsi WINE adelah untuk run kn app windows dlm linux..
untk install WINE
1)tmbahkn WineHQ APT Repository
bkak System->Administration->Software Sources dan pilih Third Party Software tab dan pilih ADD
dan copy and paste salah stu baris dibawah
For Ubuntu karmic (9.10):
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.10 "Karmic Koala"
For Ubuntu Jaunty (9.04):
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"
For Ubuntu Intrepid (8.10):
deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
For Ubuntu Hardy (8.04):
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
2)percayakn WineHQ APT Repository dgn cara bkak tab Authentication dan pilih import key file
3) install wine
bkak Terminal msukkan
sudo apt-get update (dan enter)
lpastu paste lak
sudo apt-get install wine (dan enter)
sape ckp linux xboleh maen game tetingkap???
lau korng nk taw linux jge boleh run tetngkap nye game la..
ok,untk install tetingkap pnye game kte kne lah install PlayonLinux dulu..
PlayonLinux nie mcm script yg mmbantu wine untuk run tetingkpnye game lah..
untk install PlayonLinux:
bkak Terminal
msukkan wget http://www.playonlinux.com/script_files/PlayOnLinux/3.6/PlayOnLinux_3.6.deb
dan lpas siap dye mlakukn prosess mndwnld msukkn plak
sudo dpkg -i PlayOnLinux_3.6.deb
biasenye rmai pngguna ubuntu ingin run sftware tetingkap kn...
jd,untuk run tetingkap pnye app kte kne install WINE..
fungsi WINE adelah untuk run kn app windows dlm linux..
untk install WINE
1)tmbahkn WineHQ APT Repository
bkak System->Administration->Software Sources dan pilih Third Party Software tab dan pilih ADD
dan copy and paste salah stu baris dibawah
For Ubuntu karmic (9.10):
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.10 "Karmic Koala"
For Ubuntu Jaunty (9.04):
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"
For Ubuntu Intrepid (8.10):
deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
For Ubuntu Hardy (8.04):
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
2)percayakn WineHQ APT Repository dgn cara bkak tab Authentication dan pilih import key file
3) install wine
bkak Terminal msukkan
sudo apt-get update (dan enter)
lpastu paste lak
sudo apt-get install wine (dan enter)
sape ckp linux xboleh maen game tetingkap???
lau korng nk taw linux jge boleh run tetngkap nye game la..
ok,untk install tetingkap pnye game kte kne lah install PlayonLinux dulu..
PlayonLinux nie mcm script yg mmbantu wine untuk run tetingkpnye game lah..
untk install PlayonLinux:
bkak Terminal
msukkan wget http://www.playonlinux.com/script_files/PlayOnLinux/3.6/PlayOnLinux_3.6.deb
dan lpas siap dye mlakukn prosess mndwnld msukkn plak
sudo dpkg -i PlayOnLinux_3.6.deb

Qorel- Secondary Member

- Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)
Re: Command line in terminal (linux OS)
korang mesti kata leceh la skit2 kena import2 key ... dr source lain2
download file nie ...
http://files.getdropbox.com/u/1113424/launchpad-update.tar.gz
extract pas2 run ..
x pn lau dlm terminal lpas ko extract ko letak la mana2 pn..
ko cr blik file 2 pkai "cd"
pastu
sudo ./launchpad-update
cuma lau ko pkai nie x yah cr key dye tlg cr kn.. tp amek mse skit..
so skati korang nk import manually or auto :P
download file nie ...
http://files.getdropbox.com/u/1113424/launchpad-update.tar.gz
extract pas2 run ..
x pn lau dlm terminal lpas ko extract ko letak la mana2 pn..
ko cr blik file 2 pkai "cd"
pastu
sudo ./launchpad-update
cuma lau ko pkai nie x yah cr key dye tlg cr kn.. tp amek mse skit..
so skati korang nk import manually or auto :P

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
hurm skrg aku nk share mcm mn nk gunakn pidgin dlm terminal
syadow@syadow:~$ sudo apt-get install finch
[sudo] password for syadow:
Reading package lists... Done
Building dependency tree
Reading state information... Done
finch is already the newest version.
syadow@syadow:~$finch
nnti akan kuar windows utk select korang nye email@id
pas2 lpas select kuar buddy list
alt+c =close windows
alt+s = select windows
alt+a =action
slamt mencuba
syadow@syadow:~$ sudo apt-get install finch
[sudo] password for syadow:
Reading package lists... Done
Building dependency tree
Reading state information... Done
finch is already the newest version.
syadow@syadow:~$finch
nnti akan kuar windows utk select korang nye email@id
pas2 lpas select kuar buddy list
alt+c =close windows
alt+s = select windows
alt+a =action
slamt mencuba

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
nie nk adjust boot
sudo kate /boot/grub/menu.lst
sudo gedit /boot/grub/menu.lst
sudo nano /boot/grub/menu.lst
sudo vi /boot/grub/menu.lst
khas untuk ubuntu user.. nanti buke notepad. kt situ leh adjust boot sequence, name and etc.. xpaham tanye blk...
sudo kate /boot/grub/menu.lst
sudo gedit /boot/grub/menu.lst
sudo nano /boot/grub/menu.lst
sudo vi /boot/grub/menu.lst
khas untuk ubuntu user.. nanti buke notepad. kt situ leh adjust boot sequence, name and etc.. xpaham tanye blk...

dynoboyz- Moderator

- Posts: 1132
Join date: 04/01/2009
Age: 22
Re: Command line in terminal (linux OS)
dynoboyz:aa btol2 , dlm gedit boot 2 korang buang la kernel2 lama
2 pn lau korang distribution upgrade...nnti x de la semak sgt, fresh install grub menu dye skit jer
:P
2 pn lau korang distribution upgrade...nnti x de la semak sgt, fresh install grub menu dye skit jer
:P

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
syadow wrote:dynoboyz:aa btol2 , dlm gedit boot 2 korang buang la kernel2 lama
2 pn lau korang distribution upgrade...nnti x de la semak sgt, fresh install grub menu dye skit jer
:P
haaa...jka msh bru dlm dunia ubuntu anda boleh la gne app KGrub je untuk buang kernel2 lame tu...
tp jika da xprt xksah la....heheee


Qorel- Secondary Member

- Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)
Re: Command line in terminal (linux OS)
lau driver korang x support n nk gn wirelesscard-usb(apa nth org panggil benda nie) lau x silap ak kn stop , dh lupa :P
*root@syadow:~# sudo /etc/init.d/NetworkManager
Usage: /etc/init.d/NetworkManager {start|stop|restart|force-reload|status}
root@syadow:~#
*root@syadow:~# sudo /etc/init.d/NetworkManager
Usage: /etc/init.d/NetworkManager {start|stop|restart|force-reload|status}
root@syadow:~#
Last edited by syadow on Thu Nov 05, 2009 5:07 pm; edited 1 time in total (Reason for editing : menempah)

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
syadow wrote:lau driver korang x support n nk gn wirelesscard-usb(apa nth org panggil benda nie) lau x silap ak kn stop , dh lupa :P
*root@syadow:~# sudo /etc/init.d/NetworkManager
Usage: /etc/init.d/NetworkManager {start|stop|restart|force-reload|status}
root@syadow:~#
khas utk menggunakan aircrack-ng

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
nk check driver
syadow@syadow:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
syadow@syadow:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

syadow- Moderator

- Posts: 496
Join date: 16/08/2009
Age: 21
Location: (KL)(KK2)

Re: Command line in terminal (linux OS)
banyk sangt commnd linux.. tapi kebykan kat atas tuh command dari ubuntu...
kalau linux yang bese2 mcm slackware, freebsd... xde sudo untuk mintak privilege dari root..
kalau linux yang bese2 mcm slackware, freebsd... xde sudo untuk mintak privilege dari root..

geeks- Newbie
- Posts: 4
Join date: 14/11/2009

Page 1 of 2 • 1, 2 
Similar topics» Order Baju Linux Varsiti disini
» Tengok tv didalam Linux
» LATIHAN BAHASA MELAYU UPSR
» Pantun online
» Teknik Belajar Matematik
» Tengok tv didalam Linux
» LATIHAN BAHASA MELAYU UPSR
» Pantun online
» Teknik Belajar Matematik
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum









