how to run shell script ?

General discussion about Linux, Linux distribution, using Linux etc.

how to run shell script ?

Postby chacha » Sun Oct 05, 2003 10:56 pm

salam dosto :)

shell scripts ko kesay chalaya jata hay ? (redhat 9) :?:

actually mein mplayer install kerna chahta hoon jo k compressed tha. us ko decompress kernay k baad "install" nami script file chalani hay. kesay chalaon? :?

jald javab ki umeed 8)
chacha
Cadet
 
Posts: 3
Joined: Mon Sep 22, 2003 5:01 pm
Website: http://mugheera.cjb.net
WLM: mugheera1@hotmail.com
Yahoo Messenger: mugheera1

Re:

Postby LinuxFreaK » Sun Oct 05, 2003 11:15 pm

Dear chacha,
Salam,

1st check the properties of the file from

# ls -al install

if it has a permission to executed by the user then you can run it by

# ./install or export PATH=$PATH:"."; install
# sh install

Hope it will help you out...

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby slick » Mon Oct 06, 2003 3:30 am

to get the most out of mplayer, installl the tar gz format, but even before that...make sure you have all the codecs uncompressed in a codecs folder....usually /usr/llib/codecs/ or usr/local....then uncompress the mplayer into whichever directory you prefer...
cd into the mplayer directory..run ./configure --with-codecsdir=/codecs/directory/ --enable-gui
the gui just in case you wanna...get the codecs from the mplayer site...for quicktime windows n all...
then make and make install and you should be all set
I only run as fast as my angels can fly
slick
Naik
 
Posts: 56
Joined: Fri Sep 05, 2003 1:29 am
Location: CA


Return to “%s” General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron