Managing VPNs from the CLI in Linux

Since I have finally made the switch on my work laptop to use Linux (Ubuntu 12.10) as my primary OS, I have found a few bugs that slow me down on a regular basis. ¬†One of the bugs is that the nm-applet will stop working correctly and won’t let me make any changes to the ...

How to use sed to replace a string in multiple files

Using sed, it is possible to do a search and replace across one or many files. The syntax is as follows: sed -i 's/search/replace/g' [filename] The -i option does inline editing so that the file is actually edited. Without the -i, the file is not edited, but the replacement is printed to the screen. The ...

Run ASDM in Linux

Here’s how to run Cisco’s ASDM client in Linux: First, verify that you have a compatible version of java: java -version Next, navigate to the URL of the ASA/Pix, select “Run ASDM” and save the file to you computer. Finally, open a terminal window, navigate to where you downloaded the ASDM launcher and run this ...

CentOS Sound problem

Once I got CentOS up and running it was time to look at the smaller things that didn’t work out of the box, like sound. I looked at a lot of websites and troubleshot for a long time before finally figuring out that I just needed to install a more recent version of ALSA for ...