- Joined
- Jan 11, 2006
- Messages
- 246
- Reaction score
- 0
- Points
- 0
Well im in school for linux yet, my teacher is the same teacher have for VB which.. my VB teacher sucks. So that being said, He never showed us how to do this so im asking for your help a bit.
Using Slackware
Ok first question is making a user "student" with the password "password" ( Got this one)
Make a script in the /scripts folder to make a backup in the /backup folder for the /home/student directory. With the file name student.tar.gz! Also make it run once every hour on the hour everyday.
This part I have gotten most of just its screwing me up here is what i have gotten. ( ANY help would be helpful)
Well mkdir scripts and backup
my script is something like this
name: script
( for some reason gives me a remove "/" before member) It doesnt click to me i have read so many examples everyone says its like this.
I can not even get the script to run so i can get into the crontab.
my crontab is setup like this
Last part: Make everytime the "student" account is logged on start with startx (GUI)
No idea on this.. never ever showed us this..
Basicly both classes were taught by google.com
If you guys would post any comment that would be helpful. I thank you in advance.
Using Slackware
Ok first question is making a user "student" with the password "password" ( Got this one)
Make a script in the /scripts folder to make a backup in the /backup folder for the /home/student directory. With the file name student.tar.gz! Also make it run once every hour on the hour everyday.
This part I have gotten most of just its screwing me up here is what i have gotten. ( ANY help would be helpful)
Well mkdir scripts and backup
my script is something like this
name: script
Code:
#! bin/bash
tar -cvvf /home/student.tar.gz /backup
( for some reason gives me a remove "/" before member) It doesnt click to me i have read so many examples everyone says its like this.
I can not even get the script to run so i can get into the crontab.
my crontab is setup like this
Code:
00**** /scripts/script
Last part: Make everytime the "student" account is logged on start with startx (GUI)
No idea on this.. never ever showed us this..
Basicly both classes were taught by google.com
If you guys would post any comment that would be helpful. I thank you in advance.