--stdin pipe output
echo "New Password" | passwd --stdin Username
Add regular tasks
crontab -e -u root
* * * * * Command
points when day month week command
Backup / var / log files in the log:
#!/bin/bash cd /var/log tar -czf log-`date +%Y%m%d`.tar.gz * log="log-`date +%Y%m%d`.tar.gz" mv ${log} /opt/logback