How do I use cat command in Linux? How do I use cat command in UNIX? How can I use cat command in UNIX or Linux shell scripts?
How do I invert a protocol or ip address test while writing iptables based shell scripts?
How do I use awk pattern scanning and processing language under bash scripts? Can you provide a few examples?
How do run a a shell script with an AppleScript? How do I integrate shell scripts into AppleScript? How do I call a shell script called /path/to/chkhost.sh using an applescript?
ow do I login over ssh without using password less RSA / DSA
public keys? How do I use ssh in a shell script? How do I login non-interactivly performing password authentication with SSH and shell scripts?
Q. Can you explain the tr command and how to use it under Linux / UNIX like oses?
A. The tr utility copies the given input to produced the output with substitution or deletion of selected characters. tr abbreviated as translate or transliterate. It takes as parameters two sets of characters, and replaces occurrences of the characters in the first set with the corresponding elements from the other set i.e. it is used to translate characters.
Continue reading “Understanding Linux / UNIX tr command”
Q. How do I backup files and database for the Red Hat Enterprise Linux / CentOS Linux? Currently Iâ€™ve MySQL server running on CentOS 5 and Web server and file server using RHEL 5. How do I backup all these servers?
A. Regular backup is an essential for Linux system. You can take backup on
=> NAS Server
=> Network server etc
Implementing a backup policy that includes rotating backup media and keeping copies of backup media offsite is the most reliable way of minimizing damage. See following resources on our site for more information including commands and shell scripts:
- Perform backups for the Linux operating system
- How to backup MySQL databases, web server files to a FTP server automatically
- Howto Backup PostgreSQL Databases
- All backup shell scripts