Main Menu

friends

Banner

Latest articles

Hello World in BASH
01/11/2009 | mad mad mod

This article describes how to write and execute a "Hello World" bash script on Linux (Fedora).  1. the prerequisitesa text editor of your choice (e.g. vi)the bash shell
make sure you have installe [ ... ]


How to run a command in the background or after you exit from a shell prompt
10/03/2010 | mad mad mod

Solution 1: use "nohup" example:[root@blackmod ~]# nohup sleep 1234 &
nohup: ignoring input and appending output to `nohup.out'
[1] 2800
[root@blackmod ~]# exit
logout
 logon again and check the  [ ... ]


Other Articles

Designed by:
SiteGround web hosting Joomla Templates
backup / restore mysql databases with mysqldump E-mail
sysadmin

Backup the database



# mysqldump --opt -u username -p password -r mydb.dump mydb


Please note: Redirection does not capture UTF characters properly, while the -r option does (--result-file). I found this useful information here: http://forums.mysql.com/read.php?103,66007,71324#msg-71324


Restore the database



# mysql -u username -p password < mydb.dump

 

 

Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 
mad mad mod, Powered by Joomla! and designed by SiteGround web hosting