I am a newbie when it comes to Linux. Could someone please tell me how you run a file or program in Linux?
Printable View
I am a newbie when it comes to Linux. Could someone please tell me how you run a file or program in Linux?
Um....yah got to be a little more specific....ok a lot more specific....
are we talking an rpm,script or tar.gz file.
Im bout to leave work so heres a quick list....you can either do a full path name
/bin/whatever or cd to /bin and run a ./whatever the ./ fakes the full path name.
You have to make sure that your file is executable to make it executable you have to do a chmod +x filename.....Now i get to go home :)
Unix comands......I've found they are necesary if you're going to get anywhere...lol (I'm a newbie like you.)
Here ya go...
http://www.linuxdocs.org/
http://www.nmt.edu/tcc/help/unix/unix_cmd.html
http://www.ucgbook.com/unix.html
http://www.emba.uvm.edu/CF/basic.html
http://www.geek-girl.com/Unixhelp/
and...believe it or not, the most useful book I own is Unix for Dummies!!!
Good luck, have fun!
Oops...one more thing. The first thing you'll need to know about executing any type of program is permissions.
If you don't have x permission on a file you won't be able to execute it.
http://www.acm.uiuc.edu/webmonkeys/h...shop/unix.html
http://www.onlamp.com/pub/a/bsd/2000...SD_Basics.html
http://www.onlamp.com/pub/a/bsd/2000...SD_Basics.html
If you are familiar with MS-DOS (the original PC operating system)Quote:
Originally posted here by TechnologyBudda
I am a newbie when it comes to Linux. Could someone please tell me how you run a file or program in Linux?
It's much the same.At the command line, you type the name
of the program, and press enter.
Most of your programs, (the ones built into the system)
are accessible this way.
They are found in directories named "bin"
such as /bin, /sbin, /usr/bin, and some others.
as to software that you install yourself, or things you
write yourself, it gets more complicated.
check out your /usr/doc directory
:cool:
If you don't know what to do with that program type "man some_program". This will sho the program's manual.
oops! it's a little outdated. :)