line numbers

I‘m using GeSHi under php to highlight a source code. How do I turn on or off line numbers using GeSHi?


Q. I am a brand new user of a Linux iptables and I can’t find how to instruct my iptables to delete or unblock an IP address listed in iptables firewall. I’m using Debian Linux version. Can you help please?


How do I display vi / vim text editor line numbers while writing a shell script or c program? How can I turn on or off this feature on Linux, Apple OS X, or Unix-like operating systems?


How do I number each line to a text file? How do I write a shell script to display text file with line numbers added?


How do I print line numbers on the printer for my c / java / c++ code written using vi or vim text editor under Linux / UNIX like operating system?


Q. I’ve just installed CentOS Linux server and started to use vi text editor to make changes to config files. How do I perform search and replace operation using vi / vim text editor? A. vi (vim) is not difficult to learn, the vi editor is well known and used for both writing code and […]


Q. How do I display / list all rules in the selected chain? How do I find out which rules are active? What is blocked and opened with my firewall? A. To List all rules in the selected chain use the -L option. If no chain is selected, all chains are listed. As every other […]

{ 1 comment }