Wednesday, October 28, 2015

Cygwin Terminal Clear Screen Command

Are you working with Cygwin and wondering how you can clear your terminal's screen ?
No need to install any extra packages , the following keys combination will do the job.

  1.  Ctrl + L
  2.  ALT + F8

Have Fun !

Wednesday, October 21, 2015

How to change drive in cygwin ?

You have installed Cygwin in your windows OS. now you want to access other drives like "E:" from your terminal. How to achieve this ?
Use CYGDRIVE   as follows:
>  cd  /cygdrive/e/.

Install a new package after Cygwin installation

Have you installed Cygwin and  looking for how to install extra packages without using the setup again ? Then it is possible and apt-cyg is your friend :).
How ?
Yes in fact this package is similar to the apt-get you have in linux .
Just launch your cygwin terminal and fire the following command.

lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
chmod +x apt-cyg
mv apt-cyg /usr/local/bin/
apt-cyg install bc

I found these commands very helpful and all prizes go to Knorv from stackexchange.
Then have fun !!!