Create a backup dir # create a directory to hold the backup files mkdir /storage/backup # create a backup script file /storage/backup/embedded_db_backup.sh # make it executeable chmod +x /storage/backup/embedded_db_backup.sh Add the following to the backup script...
James McDonald
Find and replace a value in multiple files in a directory tree
Just had a situation where I need to find and replace a value in multiple html, js, php files starting in /var/www/html and descending to replace all instances. This worked for me. fgrep srv-02 * -lR | xargs sed -i.bak -e 's/srv-02/srv-04/g' Basically the above means...
Fedora 18 firewall-config fails to run ServiceUnknown error
https://bugzilla.redhat.com/show_bug.cgi?id=895067The answer was systemctl restart firewalld
Command to find which Server NIC is Connected to which Cisco Switch Port
Command to find out which ethernet card is connected to which Cisco switch port show mac-address-table | include b8ac.6f98 10 b8ac.6f98.4cdf DYNAMIC Gi0/23 1 b8ac.6f98.4cd7 DYNAMIC Gi0/8 1 b8ac.6f98.4cd9 DYNAMIC Gi0/3 Where the above values are: Vlan Mac Address Type...
Fedora 18 is too Modern for Progress 9.1E
Upgraded my home workstation to Fedora 18 and almost had an apoplexy when the following error was thrown when attempting to use a progress utility while connected to a remote server. Unable to use your terminal. Check your PROTERMCAP file. (443) ** Could not find...
Getting Mozilla Firefox 3.6 Runing on Fedora 18
The errors I encountered and the libraries I had to install to get Mozilla Firefox 3.6.28 running on Fedora 18. ./firefox ./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory yum install...
How do I install .msi files on WINE?
wine msiexec /i iSilo605W32Setup.msi
QCAD 3.0.0 on Fedora 18
This is what I did to get QCAD Professional 3.0 running on Fedora 18 I don't know exactly which package or step fixed it so I'm including everything. It may or may not help you. Just tried to run QCAD and got this error: ./qcad ./qcad: line 38: 4338 Segmentation fault...
NT_STATUS_ACCESS_DENIED when listing a new system-config-samba created share in Fedora 18
[myuser@mypc ~]$ smbclient //mypc/myshare -U myuser Enter myuser's password: Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 4.0.0] smb: \> ls NT_STATUS_ACCESS_DENIED smb: \>q [myuser@mypc ~]$ smbclient -L mypc Enter myuser's password: Domain=[MYDOMAIN] OS=[Unix]...
btrfs – still unstable so best to pass
Just installed Fedora 18 on physical hardware and selected btrfs. Did the following on a 1TB volume: dd if=/dev/zero of=test bs=1M count=6144 rm -rf test The rm process went to 90%+ CPU and took 2 minutes to delete the 6GB file. Write performance for dd was OK at...
