[edit] Unix Commands
ls -lah
[edit] Redirects
commandhere > /dev/null 2>&1
mysqld_safe --user=mysql < /dev/null > /dev/null 2> /dev/null &
commandhere 3>&2 2>&1 [edit] Other tips[edit] Write a fileTo write a file from inside a script. Example. Write a .htaccess file. The EOF represents the HEREDOC sytanx. cat >> .htaccess << EOF RemoveHandler .php AddType application/my-httpd-php .php Action application/my-httpd-php /~$USER/php.cgi EOF |