grep

Q. How do I determine my Ethernet connection speed under Debian Linux 4.0 server? A. You need to use ethtool command todisplay or change ethernet card settings. It is used for querying settings of an ethernet device such as => Link speed => Autonegotiation => Coalescing settings => Change the rx/tx ring parameters => Setup […]

{ 11 comments }

How do I recursively grep through all sub-directories and find files containing given text / string or words?

{ 4 comments }

Q. I need to get the IP address assigned to eth0 Linux interface. How do I find out IP address only? I don’t want other information displayed by Linux ifconfig command. A. For shell script or may be for other cause you may need the IP address only. You can use ifconfig command with grep […]

{ 39 comments }

tcpd is use to access control facility for internet services. The tcpd program can be set up to monitor incoming requests for telnet, finger, ftp, exec, rsh, rlogin, tftp, sshd and other services that have a one-to-one mapping onto executable files. Your sshd server must be configuring (compiled with) to support tcpd. You can find […]

{ 2 comments }