How to Backup a WordPress Site using the Command Line
mysqldump and tar commands are used for back up of a WordPress based site. The backup and restore process along with commands is explained.
mysqldump and tar commands are used for back up of a WordPress based site. The backup and restore process along with commands is explained.
Temporary files are often required for storing interim data. How to create a temporary file in a C program is explained with example code.
While running the dig command, "sendmsg failed: operation not permitted" error were observed. Steps taken for resolution of errors are given.
last and lastb commands print the user login history. last prints the previous logged in users and lastb shows the failed login attempts.
The cut command cuts parts of each line of input files and writes it on its standard output. Used for taking out few columns from the input.
The tr command reads the standard input, translates or deletes characters and writes the resulting text on its standard output.
The uniq command is a filter for finding unique lines in input. It reads input, suppresses duplicates and prints unique lines in its output.
The sort command is for sorting lines in text files. There are options to define keys, reverse sort order, numeric sort and to merge files.
grep is a program for searching string patterns in files. It searches files for the patterns and prints the matching lines.
A shell script, or bash script, is a list of commands written to automate some system operations work in Linux.