I'm extremely new to Linux style computing. Please keep that in mind.
I figured out how to write a script for the calendar to pop up in the terminal.
!/bin/bash Shell Scrip to display current date, calendar, and number of users echo "Today is $(date)" echo "" echo "Calendar : " cal
Super simple stuff.
Now, I want to add this to some type of startup. I want the terminal to pop up when I log into my computer every day.
I've tried System -> Preferences -> Startup Applications Then I click on add. I have no idea what to put in the command box.
I've also tried
/etc/init and writing a script in there. Did something wrong there. Not sure what.
I have no idea how to use gnome.
sudo into my box due to not having permission and I don't have upstart.
I'm using CentOS
Any help would be appreciated.