LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2003, 10:13 AM   #1
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Rep: Reputation: 30
Loadsa questions (newb)


Hi, I have plenty of questions, well here goes-

What are the equivalent to .bat files in windows? Are they .sh's?
What are .run files?

Why and how do you recompile the kernel?

Cheers for any help
 
Old 12-16-2003, 10:20 AM   #2
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
You recompile the kernel if you have to in order to get some of your hardware to work. If you don't need to do that, you don't have to do it. You can do it anyway if you like, for a couple of reasons that I can think of:

(a) you can compile it specifically for your processor type - you may or may not get better performance out of it that way, and

(b) you just want to for the hell of it, and/or to find out how to do it.

Yes, .sh files are the Linux/Unix equivalent, but bash .sh scripts are way more useful than DOS batch scripts.

Dunno what a .run file is, some one else must answer that.
 
Old 12-16-2003, 10:22 AM   #3
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

The equivalent to .bat files are shell scripts. There are different kinds of shells, you can use any one you like, or you can jump between them. The convention is that files ending in '.sh' are generally bash scripts, but it's not compulsory. Other shell script suffixes are '.tcsh' (T-shell) and '.csh' (C-shell).

'.run' files are generally binary (compiled) executables.

You would compile a kernel to customise and optimise it for your needs. Gaining a deeper understanding of how it works is another favourite reason.

For "how", use the search function on these pages. There is an excellent guide posted by 'DrOzz', so put that in the user name box and 'compile kernel' in the keywork box.

Spend a little time (hours or days, depends on you) getting familiar with the Linux environment first though.

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newb Questions Parradux Linux - Newbie 7 02-27-2005 03:12 PM
newb questions SlipAway172 Solaris / OpenSolaris 4 01-14-2005 03:06 AM
A few newb questions Abbaddon Linux - Newbie 6 09-14-2004 06:26 AM
Newb Questions Sybarite Fedora 5 07-28-2004 09:45 PM
Just some newb questions testament Linux - Newbie 15 07-04-2004 12:52 PM


All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration