PuTTY is a damn useful app for when it comes to gaining remote access into a machine via SSH or Telnet, and has more than proven its worth to serious geeks over the years since it was first released.
But here’s a question that you’ll be asking if you are new to the whole command line SSH into Linux access thing:
“Just what does all the colour-coding (when it comes to folder listings) displayed in PuTTY mean?”
Well, basically the colour-coding is to expediate file type recognition. For example, the default colour set is as follows (thanks Google!):
- * Normal file: White (or the default colour used by the command line window)
- * Directory: Blue
- * Symbolic link: Cyan
- * Pipe: Yellow
- * Socket: Magenta
- * Block device driver: Bold yellow foreground, with black background
- * Character device driver: Bold yellow foreground, with black background
- * Orphaned syminks: Blinking Bold white, with red background
- * Missing links: Blinking Bold white, with red background
- * Archives or compressed files: Red (e.g. .tar, .gz, .zip, .rpm)
- * Image files: Magenta (.jpg, gif, bmp, png, tif)
To manipulate or view just what colours your system is spitting out you, simply pay a visit to /etc/profile.d/colors.sh and /etc/profile.d/colors.csh
There, hope that helps! :)
(Tip: If you wish to disable the list colouring, simply remove the alias that attaches ls –color=tty to ls – run `alias` to see what I’m referring to.)
You might also enjoy:
-
A bash script is simply put a file containing a list of commands to be executed by the bash shell (remember, there are a number of different shells availabl ...
-
Sometimes you just don't want to use the good old anchor tag and want to use a tag instead, but at the same time, you want people who mouse-over your span ...
-
Let's start this off with a quick, NEVER should you be suppressing errors instead of trying to resolve the scenarios in which an error can occur. However ...
-
TimThumb, created and maintained by Tim McDaniels, Ben Gillbanks and Darren Hoyt, is a rather popular open source, image resizing PHP script, mostly used fo ...
-
One of the things we do here at Touchwork is create web-based audit capture systems which are intended for use on mobile phones by various auditor class peo ...