LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-31-2009, 05:45 PM   #1
Hourani
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Post event.d scripting language?


hey, I am not that new to Linux but I couldn't fit this kinda question in a better place than here, if you find a better forum for it, please accept my apologies and move it.

I was reading in /etc/event.d and saw a "weird" scripting language for me, it was not bash or anything I know, I wonder if anyone knows what is it?

Code:
$ cat /etc/event.d/mudat 
start on runlevel 2 
exec echo "Entering multiuser mode on " $(date) > /tmp/mudat.out
There's nothing as "on" in bash, that's what got me to exclude bash as an option.

Regards.
 
Old 02-01-2009, 06:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
You can have 'echo' showing you any text, and it is just text,
not at all "bash code"

Try this command
Code:
echo "I will now show you the text I wrote to be echoed, and  show you what is going on with echo : "Entering multiuser mode on " . That's it"
or
Code:
echo "I will now show you the text I wrote to be echoed, and show you what is going on with echo : "Entering multiuser mode on " . That's it" $(date) > 123456.txt
making the text as a text file in /home/Hourani/
....

Last edited by knudfl; 02-01-2009 at 12:53 PM.
 
Old 02-01-2009, 06:20 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,054

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
That's upstart. Have a look here - try the "getting started" tab.
 
Old 02-02-2009, 05:39 PM   #4
Hourani
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
That's upstart. Have a look here - try the "getting started" tab.
oh, thank you.
 
  


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
Which scripting language to learn max_cherry Linux - Newbie 11 11-27-2008 01:47 PM
Best scripting language? walterbyrd Linux - Software 2 01-08-2006 03:13 PM
Which Scripting Language? birdseye Programming 2 10-03-2005 10:54 AM
Choosing a scripting language joeljkp Programming 5 10-27-2004 05:36 PM
Favorite scripting language rverlander General 8 09-02-2002 06:06 AM


All times are GMT -5. The time now is 01:23 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