Articles tagged with #linux




grep without filenames

I needed to grep a directory, and sub directories, and not displaying the filenames in the output. This is when the man page came to the rescue. man grep | grep filename Output -H, --with-filename -h, --no-filename There we go, -h, --no-filename, is what I needed. Example with output to a …



Why I don't use AppFog

Simple no persistant storage. Starting up, setting up, etc are all great, but without persistance storage I'm forced to use S3 or the like. If I'm doing a very simple app or a WordPress install it's not worth the effort. Does AppFog have a persistent file system? Not yet. We're …



How to close a linux screen session

After working within a screen session on a CentOS server I had forgotten how to close the screen session that I was done with. It's a rather simple command. exit Perfect, exit means exit. Of note if you just want to disconnect use. ctrl+a (press) d That'll disconnect you …