I have a qes about bash files

For beginners, flames not allowed...(just by the staff :P)
Post Reply
shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

I have a qes about bash files

Post by shamir »

Ok I have learned html and other coding languages but I don’t fully understand a .bash file. Can some one give me the run down on what they are for and what can be done with one? .bash ? looks like I inadvertently skipped learning bash code structure. Help is appreciated and can I run bash on my windows xp? :)

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

a bash script is just like just
like .bat file but for linux

that says it all

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

can I run bash in my windows......

Necrix
The Hacker Wolf
The Hacker Wolf
Posts: 746
Joined: 09 Apr 2005, 16:00
19
Location: United States
Contact:

Post by Necrix »

you can make a bash file with notepad.
So, yes, you can run bash in windows.

Google.
Image
Anime-Planet.com - anime | manga | reviews

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

Necrix wrote:you can make a bash file with notepad.
that I know, thanks anyway. necrix. :twisted:

mrmike
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 503
Joined: 22 Feb 2007, 17:00
17
Location: switzerland
Contact:

Post by mrmike »

:roll: hmm myou should tell us more explicit questions then we can answer you better...

so a .bat file you can write in notepad(like necrix said)it run allways over cmd.exe, that mean mean its a dos language (correct me if im wrong pls).
bat is a very very easy to learn language but can be very usefull, at end you can code tools for nearly all, like viri,trojans,e-net tools etc.
i hope this is usefull for you.
[img]http://img.photobucket.com/albums/v247/Vlady/48265b8wj96xhce.gif[/img]

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

Necrix wrote:you can make a bash file with notepad.
So, yes, you can run bash in windows.

Google.
not 100% correct.... :wink: it depends on the commands in the file, bash and batch are pretty the same, but because bash is used on Linux is uses the Linux syntax and also the commands (apps) on Linux systems...and many apps are not available on MS, and even if they are the option switches are different sometimes.
but yes, you can edit a bash file in notepad....but never in Word because it'll convert it into the MS format then which can't be read by the bash shell (or better said it is misinterpreted)... :wink:

Post Reply