So I wanted to install linux on a mac mini that I have. They are great because they take up so little room and you can stick them so easily. The tricky part is how to make a usb stick that the mac mini will boot of. As you can see these commands are carried out on my mac laptop. Make sure you do not dd your internal hard drive. Once these steps are completed you should be able to boot off the usb stick and complete the Linux instillation.
So cron is pretty amazing. Cron does have it’s limitations when you want to run a job only once a month. While you can run a job like the one below that runs at 16 hundred hours every Monday. 00 16 * * 1 /usr/bin/billing-job What if you only want to run the job on the first Monday of the month. Say for example you need to run your billing job every first Monday of the month.
So you set up a new account for a user on a Red Hat Enterprise Linux system and you want to set it to someting simple and then have the user change it next time they log in. One way to make sure that the user changes the password next time they log in is to force a password change by setting the password expiration to zero days since it was last changed.
Today I would like to share a bash program that I wrote to make it very quick to easily change the print client on a bunch of unix print clients. How it works is that all the print clients are told to print to prtserv and then in the /etc/hosts file you uncomment the print server that will be seeing the print clients today. There are three different options, where you have all print clients using server1, all print clients using server2, which is good for doing maintenance on one of the print servers.
When you want to send test print jobs through the cerner application you have to use a long command that is impossible to remember and stick the print queue in the middle which is a pan and prone to error. So I created this little program to help out. To run the script you simply run. Where ps is the type of print jobs that can vary form ps, intermec, zebra to ascii.