XTerm + TTF fonts + UTF8 + Chinese (Double Sized) Characters
Here I will show you how to configure XTerm so that it uses nice TTF fonts, uses UTF8 encoding, and shows Chinese characters (or any Unicode characters, for that matter).…
Here I will show you how to configure XTerm so that it uses nice TTF fonts, uses UTF8 encoding, and shows Chinese characters (or any Unicode characters, for that matter).…
Many people try all different ways, but it seems SSH is implemented so secure that, even if you want to be unsecure a bit, it will not allow you to…
To check if passwordless login (using keys) has been setup simply run the following command: ssh -o BatchMode=yes <user>@<host> true For example: ssh -o BatchMode=yes user@192.168.1.101 true And examine the…
Of course, everybody knows 'gcc --version' option to check gcc version, but output is quite verbose and is not easy to parse and use in scripts. Luckily, gcc has option…
Sometimes your programs crash and you need to do "postmortem" analysis (another case is that someones else's program crashes and you need to send them core dump file), for that…
Use $HOME environment variable: echo “$HOME” This should work on most machines, but on some environments (this took place with me) this variable is not set. In this case you…
POSIX compatible systems have LOGNAME environment variable set whose value will equal to current user name: echo $LOGNAME This is the most portable way to detect current user name. Quite…
If you want to redirect your connection or pretend to appear from another host/location and have SSH account you can use SSH itself for that. Just run the following command:…
When you often work on command line and often need to change directories, this tip can save you a lot of time. To navigate between current and previous directory, simply…