How do I specify MySQL SQL queries on the UNIX / Linux command line?
{ 1 comment }
Posts tagged as:
How do I specify MySQL SQL queries on the UNIX / Linux command line?
{ 1 comment }
How do I number each line to a text file? How do I write a shell script to display text file with line numbers added?
{ 5 comments }
Q. When I start a program from the terminal, it closes when I close the terminal windows? How do I stop program quitting when the terminal is closed?
{ 0 comments }
Q. How do I convert uppercase words to lowercase or vise versa under BASH shell? I’ve a small shell script and I’d like to convert all incoming user input to lowercase using a shell script.
{ 0 comments }
Q. How do I check whether a directory is empty or not under Linux / UNIX using a shell script? I’d like to take some action if directory is empty.
A. There are many ways to find out if a directory is empty or not under UNIX / Linux bash shell. You can use find command [...]
{ 4 comments }
Q. How do I generate random password to use with my shell script?
A. You can use makepasswd or mkpasswd command to generate random password under Linux / UNIX.
mkpasswd command is overfeatured front end to crypt(3) function. makepasswd command generates true random passwords by using the /dev/random feature of Linux, [...]
{ 1 comment }
Q. I’d like to run a command or shell script immune to hangups, with output to a non-tty or file. How do I use nohup command to run script called ~/utils/backup upload?
A. nohup is a Unix command that is used to run another command while suppressing the action of the HUP (hangup) signal, enabling the [...]
{ 0 comments }
Q. I’m new to Linux and I’ve dedicated VPS server running Ubuntu Linux. I’m using CMS software and MySQL act as database server. Can you explain how can I backup all mysql server databases to ftp server IP address called 10.1.5.2?
A. You can use mysqldump command to backup database. The mysqldump client [...]
{ 3 comments }