From the category archives:

Debian / Ubuntu

Q. I need to sort data from a log file but there are too many duplicate lines. How do I remove all duplicate lines from a text file under GNU/Linux?

{ 5 comments }

Q. I’m trying to login to my remote Ubuntu Linux server from Mac OS X desktop using following command:
ssh -X user@vpn.officeserver.example.com xeyes

But I’m getting an error that read as follows:

X11 connection rejected because of wrong authentication.

How do I fix this error?

{ 4 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?

{ 2 comments }

Q. How do I move my Thunderbird email client settings from Debian Linux desktop to a new Ubuntu Linux laptop? I’ve installed Thunderbird on Ubuntu Linux but not able to find any import or export option. How do I move settings?

{ 1 comment }

Q. IPv4 by default protect internal host using RFC 1918 private IP address. But IPv6 offers direct global address which result into exposing all internal hosts as well. How do I create default IPv6 firewall to drop all incoming (except ping6 request) connection and only allow outgoing requests from Linux workstation?

{ 3 comments }

Q. How do I login over ssh without using password less RSA / DSA public keys? How do I use ssh in a shell script? How do I login non-interactivly performing password authentication with SSH and shell scripts?

{ 8 comments }

Q. I can use dd command to create ISO images from a CD but how do I get volume information from CDs and ISO images from a shell prompt?

{ 0 comments }

Q. Some service provider guarantees 99.999% uptime for their service. Can you explain meaning of five nines?

{ 3 comments }

Q. How do I create username or user groups in upper case under Linux / *BSD / UNIX operating systems?

{ 2 comments }