Difference between Linux and Windows (and similarity)
Linux, Mac, Solaris, BSD and some other OS share the same origin, grandfather UNIX, which make them having similar command and file structure. While Windows stands as its owned, has its owned unique command and structure that different from the UNIX bloodline. However all the OS are actually serve the same purpose, just that in different methods:
- File System Type: this is the type of method on how to format the hard disk. Currently Windows cannot browse hard disk (or partition) of Linux file system, however newer Linux can browse (or even modify) Windows file system.
- Windows: FAT and NTFS
- Linux: EXT2, EXT3 and EXT4
- File Structure: this is another thing that make Windows user confuse on Linux. In Windows, the file structure is based on hard disk, and then each hard disk can have more than 1 partition. For example C:\ is the hard disk and D:\ may be the second partition of the hard disk. However Linux treats hard disk and partition separately, which the structure will base on partition like /, /home, /etc and others.
- Linux /home is equivalent to Windows c:\document and settings
- Linux /bin and /sbin is equivalent to Windows c:\windows\system32
- Linux /opt is equivalent to Windows c:\program files
- Command: of course the commands between Linux and Windows are vary, but you can always find the equivalent command.
- List files: ls and dir
- Ping: ping (same for both OS)
- Change directory: cd (same for both OS)
- Make directory: mkdir (same for both OS)
- Copy: cp and copy
- Move: mv and move
- Delete: rm and del
