linux unix

Linux / UNIX Shell: Sort IP Address

by Vivek Gite on September 17, 2008 · 6 comments

Q. I’d like to sort a list of IP address stored in a text file. How do I sort by last notation or entire address under Linux or UNIX operating systems?

{ 6 comments }

Howto: Linux Write protect a file

by Vivek Gite on June 12, 2007 · 2 comments

Q. How do I write protect a file under Linux? I’m using CentOS 5 server Linux operating system. I need prevent accidental changes to my files. A. There are two ways to write protect a file under Linux. Method #1: You can make file readonly by removing users’ write permission for a file. Under Linux [...]

{ 2 comments }