I have this homework posted below, I dont understand cron jobs and how the date system works...
If someone has a good way to explain it and or a link, i goggled it but could not understand.
Not asking you to do my homework, just help me understand how to do it.
Linux Admin 1 LAB Week 7
Name:
class section:
1. what command will show all a user's crontab entries?
2. what command will allow a user to edit their crontab?
3. What would the syntax be for a cronjob entry which would run the script /root/ping.bash every
day at 3:45 AM?
4. What would the syntax be for a cronjob entry which would run the script /root/ping.bash every
day at 4 PM?
5. Show the syntax for running /root/ping.bash on every Monday, and Tuesday at noon
6. Show the syntax for running /root/ping.bash on every Thursday and Friday at noon
7. Show the syntax for running /root/ping.bash on every Monday, Thursday and Saturday, at 9:00
PM
8. Show the syntax for running /root/ping.bash on every Monday, Thursday and Saturday, at 9:00
AM
9. Show the syntax for running /root/ping.bash on the first day of every month, at 4 AM:
10.Show the syntax for running /root/ping.bash on the tenth day of every month, at 4 AM:
11.Show the syntax for running /root/ping.bash on every thursday in May at 4 AM:
12.Show the syntax for running /root/ping.bash on every thursday in December at 4 AM:
13.Show the syntax for running /root/ping.bash every day from the 5th to the 12th of every month,
at 4 AM:
14.Show the syntax for running /root/ping.bash on any Monday, Tuesday or Wednesday between
the 2nd and 15th day of the month, at 2:30 PM:
15.Show the syntax for running /root/ping.bash thirty minutes from now:
16.(2 points) What set of commands will run /root/ping.bash when the load average drops below
1.5?
17.install all available software updates for your system. What command did you use?
18.How many files are included in the gcc package?
19.What package owns the file /bin/ping ?
20.How many total packages are installed on your system?
21.software is often distributed in tarfile format. Download the John-the-ripper package from the
lecture slides, and extract the contents. Show the command you used to extract the files from the
tarball:
22.(2 points) Compile John. Show the steps necessary to complete this task. It may be necessary to
read the INSTALL or README files which were extracted from the tarball. Get ISO as well.
23.What file contains the passwords that john has already broken?
What is John the ripper? A password cracker for Unix-based systems. Given a copy of the
shadow password file, it attempts to determine all the passwords for all the users. It takes a
variable amount of time, sometimes just a few seconds, sometimes several weeks.
Documentation on how to install and run John the ripper is included in the tarball. I recommend
reading the contents of files with names such as README and INSTALL.
If someone has a good way to explain it and or a link, i goggled it but could not understand.
Not asking you to do my homework, just help me understand how to do it.
Linux Admin 1 LAB Week 7
Name:
class section:
1. what command will show all a user's crontab entries?
2. what command will allow a user to edit their crontab?
3. What would the syntax be for a cronjob entry which would run the script /root/ping.bash every
day at 3:45 AM?
4. What would the syntax be for a cronjob entry which would run the script /root/ping.bash every
day at 4 PM?
5. Show the syntax for running /root/ping.bash on every Monday, and Tuesday at noon
6. Show the syntax for running /root/ping.bash on every Thursday and Friday at noon
7. Show the syntax for running /root/ping.bash on every Monday, Thursday and Saturday, at 9:00
PM
8. Show the syntax for running /root/ping.bash on every Monday, Thursday and Saturday, at 9:00
AM
9. Show the syntax for running /root/ping.bash on the first day of every month, at 4 AM:
10.Show the syntax for running /root/ping.bash on the tenth day of every month, at 4 AM:
11.Show the syntax for running /root/ping.bash on every thursday in May at 4 AM:
12.Show the syntax for running /root/ping.bash on every thursday in December at 4 AM:
13.Show the syntax for running /root/ping.bash every day from the 5th to the 12th of every month,
at 4 AM:
14.Show the syntax for running /root/ping.bash on any Monday, Tuesday or Wednesday between
the 2nd and 15th day of the month, at 2:30 PM:
15.Show the syntax for running /root/ping.bash thirty minutes from now:
16.(2 points) What set of commands will run /root/ping.bash when the load average drops below
1.5?
17.install all available software updates for your system. What command did you use?
18.How many files are included in the gcc package?
19.What package owns the file /bin/ping ?
20.How many total packages are installed on your system?
21.software is often distributed in tarfile format. Download the John-the-ripper package from the
lecture slides, and extract the contents. Show the command you used to extract the files from the
tarball:
22.(2 points) Compile John. Show the steps necessary to complete this task. It may be necessary to
read the INSTALL or README files which were extracted from the tarball. Get ISO as well.
23.What file contains the passwords that john has already broken?
What is John the ripper? A password cracker for Unix-based systems. Given a copy of the
shadow password file, it attempts to determine all the passwords for all the users. It takes a
variable amount of time, sometimes just a few seconds, sometimes several weeks.
Documentation on how to install and run John the ripper is included in the tarball. I recommend
reading the contents of files with names such as README and INSTALL.