This is an old revision of the document!
moving a folder
mv /etc/freedns/ /home/pi/freedns
find . -name testfile.txt
where: X is any combination of the letters `u' (for owner), `g' (for group), `o' (for others), `a' (for all; that is, for `ugo'); @ is either `+' to add permissions, `-' to remove permissions, or `=' to assign permissions absolutely; and Y is any combination of `r', `w', `x'. Following are some examples:
from the webcam thing
crontab -u userName -l crontab -u vivek -l
0 * * * * /path/to/script.ksh
# Example of job definition:$ # .---------------- minute (0 - 59)$ # | .------------- hour (0 - 23)$ # | | .---------- day of month (1 - 31)$ # | | | .------- month (1 - 12) OR jan,feb,mar,apr ...$ # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat$ # | | | | |$ # * * * * * user-name command to be executed$
By default the first column is for minutes and the second one is for hour
every 30 minutes is
*/30 * * * * /path/program.sh
I did one of the maybe 10 years ago and managed it then. But I have forgotten sooo much. This time I hacked together from two sources that was actually similar in concept to what I once did. What I finished with
BUT you have to install dnsutils package, otherwise dnslookup will not work
sudo apt-get install dnsutils
Type df -h or df -k to list free disk space: $ df -h
OR $ df -k
Mount Other Drive
Well I tried moving var folder to new partition and edited fstab to say this
/dev/sda3 /var ext4 defaults 0 0
But but I couldn't boot and ended up just starting from scratch and installed the non NOOBS version.
BUT, while getting out of the shower this morning I remembered that I forgot to make an empty new VAR folder for the new partition to be mounted into…Dang if it actually worked! it took a few reboots for the OS to adjust the file structure but on the third boot it all worked.
Still I went back to my new install, but it is good to know it works