beatnik Posted August 27, 2006 Report Share Posted August 27, 2006 Is there/what is the GNU/Linux equivalent of a batch file? Also, is there a msg-type command on GNU/Linux? -MC nubcakes Quote Link to comment Share on other sites More sharing options...
neddie Posted August 27, 2006 Report Share Posted August 27, 2006 Yes, a shell script. Often called a bash script because bash is often the default shell. Not sure about msg, what does it do? Quote Link to comment Share on other sites More sharing options...
scoonma Posted August 27, 2006 Report Share Posted August 27, 2006 Hi beatnik, if you want to print out some text a terminal window, you can use the "echo" command within a shell script: Syntax is simple: echo "This is my text" Quote Link to comment Share on other sites More sharing options...
Gowator Posted August 27, 2006 Report Share Posted August 27, 2006 if you are a power batch file user then you just stepped into heaven! A good place to start is bash shell script search on google.... but also much of linux has batch shell scripts... you can look at them, modify them and all. You really can't go wrong.... I would say just search for them and take a look then modify to suit needs. You can also mix n match.... you can use shell sscripts to make GUI apps as well as simple CLI... a lot of examples are in /etc/init.d/ These are the startup scripts for linux.... it will give you a good idea of syntax etc. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.