Articles tagged with #command




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 …



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 …