Linux ¼ÖÆ×ÀÃæµÄ¼òµ¥¹¤¾ß
It's actually an application named <em><strong>recordmydesktop</strong></em>, which can be installed by <strong>sudo apt-get install recordmydesktop</strong>.
There are various kinds of purpose to use, but for me, I would like to present or show some mock-up to other people. I made a simple file
<strong>#!/bin/bash
recordmydesktop -windowid $( xwininfo -frame | awk '/Window id:/ {print $4}' )</strong>
After running this script, there is a cross cursor which allows you to select a window. As soon as the window is selected, the recording start. To end the recording, simply type Ctrl+C. After several lines of screen output, there is a .ogv file generated.
You can use Movie Player to view the file if you are using Linux. However, you can still view this file by using VLC, which can be installed to both Mac and Windows.
Ïà¹ØÎĵµ£º
MySQL :: Linux ÏÂ×Ô¶¯±¸·ÝÊý¾Ý¿âµÄ shell ½Å±¾
Linux ·þÎñÆ÷ÉϵijÌÐòÿÌ춼ÔÚ¸üРMySQL Êý¾Ý¿â£¬ÓÚÊǾÍÏëÆðдһ¸ö shell ½Å±¾£¬½áºÏ crontab£¬¶¨Ê±±¸·ÝÊý¾Ý¿â¡£Æäʵ·Ç³£¼òµ¥£¬Ö÷Òª¾ÍÊÇʹÓà MySQL ×Ô´øµÄ mysqldump ÃüÁî¡£
½Å±¾ÄÚÈÝÈçÏ£º
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
DB_NAME=" ......
°²×°mysql
sudo apt-get install mysql-servel-5.0 mysql-client-5.0
ÏÂÔØ°²×°¹ý³ÌÖУ¬»áÌáʾÊäÈërootÃÜÂë
°²×°CÓïÑÔ±à³Ì½Ó¿Ú£º
sudo apt-get install libmysqlclient15-dev
¸ü¶àapi ²é¿´£ºhttp://dev.mysql.com/doc/refman/5.0/en/c.html
Ïà¹ØmysqlÍ·ÎļþºÍ¿âÎļþ°²×°ÔÚ/usr/include/mysql/ºÍ/usr/lib/mysqlÄ¿ ......
¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......
ͨ³£ÒªÓÃһЩÌØÊâµÄ·½·¨£¬·ÀÖ¹Îóɾ³ý£¬ÆäʵÎóɾ³ýÊÇ¿ÉÒÔ·ÀÖ¹µÄ£¬ÌØÒâɾ³ýÊÇÎÞ·¨·ÀÖ¹µÄ¡£
Îóɾ³ý£¬Í¨³£ÊÇchattr +i filename
[root@imdba imdba_t2]# ls -ltr
total 116
-rw-rw—- 1 mysql mysql 61 Oct 17 16:08 db.opt
-rw-rw—- 1 mysql mysql 8556 Oct 17 16:09 imdba_t2_t.frm ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
Ëùν“×ÀÃæ
Linux”
ÊÇÖ¸Óû§ÍêÈ«¿ÉÒÔ×ÔÓɵØÀí½â¡¢Ê¹ÓÃÓë´«²¥µÄ¸öÈ˼ÆËã»ú½çÃæ¡£ÔÚÕâÀ×ÔÓÉ£¨
Freedom
£©Ò»´ÊµÄ׼ȷº¬ÒåÓë×ÔÖ÷£¨
decide
for oneself
£©µÄÄÚº¸üΪ½Ó½ ......