Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Not being a Linux guru, I have been trying to get more accustomed to using Cygwin. One of the problems that I have faced is I have been using it pretty much as is, out of the box. It has not become a "go to" solution yet. How does one set up the path to become a ninja?

  1. How should I be setting up my environment to make the most out of Cygwin?
  2. What tasks should I use to start migrating over to Cygwin to help begin integrating it into normal use of Windows?

Steps I do to "configure":

  • .vimrc config file
  • mount and ln to map folder
  • installed secondary console tools: using MinTTY or Console2
share|improve this question
add comment

1 Answer

Coming from personal experience, most of my "guru"-ness came from being forced to learn and make do in Linux. Grab yourself a copy of the Ubuntu livecd and brush up on privilege elevation (sudo), file-editing (vim, emacs, or nano), help files (man), and your basic filesystem commands (mv, mkdir, ls, cd, rm, ln, etc.). After that, start using the live CD for periods of time. Few hours here, maybe all day there. Whenever you encounter a problem, tell yourself that you'll fix it using the command line, and don't break that rule. Use Google or Super User until the problem is solved (99% of the time you can copy an error string directly into Google and one of the top 3 posts will be your answer). There's not really a guide to becoming familiar with Cygwin/Linux - it's developed over time through a need to figure out how to do things, many of which Windows does for you, or provides a simple interface. Part of learning an environment is understanding the system beneath it.

If you don't wish to bother with a livecd, simply agree with yourself that certain tasks you'll do in Cygwin - try "banning" yourself from Windows Explorer. Then the Start menu. Then the Control Panel, and all its associated dialog boxes. If you need to use them, find a way to perform the function either through cmd.exe or Cygwin. It will take time, but if you don't let yourself go the "easy" route, it'll help you to understand both how Windows is put together, and what tools you have available to get the job done. I never knew about grep until I had to dig through log files - but I can't live without the tool now.

As far as suggestions on "how should [you] be setting up [your] environment", that's much harder to answer, as the defaults are quite good, and it's often left up to personal taste. For instance, I always work inside of a screen session, and I've changed the visual bell from "Wuff! -- Wuff!" to "Peons require your attention!" as well as changing the termcap to support 256 colors. I've customized the hardstatus, and googling around for such will present you with a myriad of options.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.