cygwin: access windows disk, directories and files

Cygwin is a Open-source Linux-like environment for Windows. In this tutorial, I am going to show how we can access the windows directories and files using cygwin.

Listing windows directories and files in cygwin
-->> On bash shell, after setting the directory to the the "root" (via "cd /"), you could find a directory called "cygdrive" (via "ls" or "dir"), where all the hard disks are mounted. "cd cygdrive" and "ls" lists all the hard disks, e.g., "c", "d", etc.

Commands Entered Stepwise (see image above) :
cd /        access the root directory
cd cygdrive enter into cygdrive directory
cd c        enter into c drive of windows
ls          listing contents of c drive

No comments :

Post a Comment

Your Comment and Question will help to make this blog better...