Home
Submit
Free Hosting
Link To Us
Contacts
Bash Run as root
Bash
Download
(.zip)
# cleanup
# Run as root, of course.
cd /var/log
cat /dev/null > messages
cat /dev/null > wtmp
echo "Logs cleaned up."
Bash
Am I Root check
Array assign
Assert
Bash
Bashrc
Case variable
Erase all traces of a file
Bash
Invoke with command line parameter to exercise last section of this script
Print a number to different bases
Calculates both sum and product of passed args
Bash
Converts a specified input file to uppercase
Copy Array Building your own assignment statement
Dereferencing parameter passed to a function
Bash
Encrypted password
Run as root
Run as root2