Be careful with this one! The -r flag means it’s recursive, the f suppresses the need to confirm every file deletion.
Categories
Tags
Be careful with this one! The -r flag means it’s recursive, the f suppresses the need to confirm every file deletion.
You will be prompted for a password after issuing this command.
Replace filename with the name you want to give the zip file. The .zip extension is automatically appended to the end of the filename. Replace inputfile1 and inputfile2 with the names of the files you wish to include in the zip archive. You can include any number of files here, or you may use an […]
The first directory listed is the one to copy, the second is where it’s copied to.
Most of the below culled from stupid .htaccess tricks Rewrite URL to always include the www and redirect multiple doamins to one Aways remove the www Redirect old files and folders to new
This example will go get the latest version of wordpress and save it as “wordpress-latest.tar.gz” in the current directory. Note, don’t include the protocal (http://) in the url.
To act on the list of files found instead of simply listing them, try the -exec command. Find 10 largest files
A custom login page is a really nice touch. There are plugins out there that can do this, but why bother when all you need to do is to drop this into your theme’s functions.php file. It will override the default WordPress login css styles and allow you to customize the logo and background. Totally fresh.