Does Linux have something like Windows' batch file?

Booting, installing, newbie
Post Reply
Message
Author
fixit

Does Linux have something like Windows' batch file?

#1 Post by fixit »

Does Linux have something close to a windows batch file ?

Thanks.

I read where it said Linux doesn't have a problem with disk defragmentation.

How is that accomplished when programs are added and deleted ?

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

2 Qs need separate posts!

Sh, Ash, and Bash are the command processors for the Linux O.S.
Open a vt ( rxvt ) and you are looking at the command prompt.
Puppy is full of shell scripts ( Linux batch files ), look at some.

I suggest the Bash tutorial: http://tldp.org/LDP/abs/html/

Use Google to find lots more info. about it.
For the GUI maker in Puppy, look at GtkDialog.

fixit

#3 Post by fixit »

Thanks Sunny.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

file permissions

#4 Post by raffy »

Any text file (in Linux filesystem) can become a "batch" file by giving it "execute" permission. otherwise it does not "execute" even when clicked. But files coming from Windoze filesystem are all execute-ready (now you have an idea why security in Windoze is a problem).

The default* files in /usr/local/bin are good examples of small executable files in Puppy.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

Post Reply