Toggen Blog
Tech tips
Articles
Latest
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
