This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#create a backup of /etc using the date in the archive name. | |
#set schedule in cron | |
#example: | |
# 17 * * * * /backup-etc.sh | |
DATE=$(date +"%Y%m%d%H%M") | |
touch /var/opt/etc-backup-$DATE.tar.gz | |
chmod 600 /var/opt/etc-backup-$DATE.tar.gz | |
tar czfP /var/opt/etc-backup-$DATE.tar.gz /etc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) b /usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.12/rtgui/rtimage.cc:101 | |
Breakpoint 1 at 0x5fc449: file /usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.12/rtgui/rtimage.cc, line 101. | |
(gdb) run | |
The program being debugged has been started already. | |
Start it from the beginning? (y or n) y | |
Starting program: /usr/local/bin/rawtherapee | |
[New LWP 100203] | |
[New Thread 80c006400 (LWP 100203)] | |
/usr/local/share/rawtherapee/themes/25-Gray-Gray.gtkrc:96: error: unexpected identifier `colorize_scrollbar', expected character `}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt full | |
#0 0x0000000808d3e7ca in thr_kill () from /lib/libc.so.7 | |
No symbol table info available. | |
#1 0x0000000808df48e9 in abort () from /lib/libc.so.7 | |
No symbol table info available. | |
#2 0x000000080847f7da in ?? () from /lib/libcxxrt.so.1 | |
No symbol table info available. | |
#3 0x0000000802266e68 in Glib::ConvertError::throw_func(_GError*) () | |
from /usr/local/lib/libglibmm-2.4.so.1 | |
No symbol table info available. |
NewerOlder