actually 'tar' does not compress at all. it's 'tape archiver' and comes from the olden days of unix, when you did your backups to tape reels. it creates a large, continuous file from e.g. the contents of a directory.
'gzip' is what does the compression nowadays, thus we have $filename.tar.gz. previously we had the 'compress' command which resulted in $filename.tar.Z, but its ratio is much worse.
@bamdadkhan Your right, you can also use bzip (tar.bz) which is as common as gz compressed tar files. But really you can compress your tar archive using any compression routine you like, as long as the person receiving the file has the means to decompress, and also unarchive that format.
@KonKaji Yes thats correct. Also i believe there is a version of GCC for windows you can run from the DOS prompt if you prefer. But its more fun in Cygwin using the BASH shell. :D GCC should come with Cygwin as well, just make sure to install it when selecting the install options.
where is Cygwin - 6?
khunshan 1 week ago
you need to magnify yoru screen. no one can read what the heck y ou are typing. its too blurry.
sigh2infinity 5 months ago
@sigh2infinity Thanks, i will be uploading more videos in the near future, in HD for more clarity on my new channel CodeConsortium.
reecefowell 3 months ago
actually 'tar' does not compress at all. it's 'tape archiver' and comes from the olden days of unix, when you did your backups to tape reels. it creates a large, continuous file from e.g. the contents of a directory.
'gzip' is what does the compression nowadays, thus we have $filename.tar.gz. previously we had the 'compress' command which resulted in $filename.tar.Z, but its ratio is much worse.
bamdadkhan 6 months ago
@bamdadkhan Your right, you can also use bzip (tar.bz) which is as common as gz compressed tar files. But really you can compress your tar archive using any compression routine you like, as long as the person receiving the file has the means to decompress, and also unarchive that format.
reecefowell 3 months ago
abt nano, I just chose it from the list of available components when I installed cygwin and it was installed for me.
poojkhgf 8 months ago
So, in cygwin, you can do root operations as a normal user? CRAZY!
merkur32123 10 months ago
I have a little question:
i have this .sh code but i want it in a .bat code:
#echo "You should run this script via this command: nohup ./main.sh &"
k="php ${1}.php"
while [ 1 ]; do $k; done
please help me! :S
BrothersOfGermany 1 year ago
@BrothersOfGermany I generally don't use DOS scripts or bat script files. I would recommend you look up a tutorial on writing DOS bat script files.
reecefowell 1 year ago
you are awesome man. seriously
DonatedBus 1 year ago
thanks for the videos
after seeing this video does this mean i can install and run GCC for C programming without logging on to Linux and just run cygwin using windows?
KonKaji 1 year ago
@KonKaji Yes thats correct. Also i believe there is a version of GCC for windows you can run from the DOS prompt if you prefer. But its more fun in Cygwin using the BASH shell. :D GCC should come with Cygwin as well, just make sure to install it when selecting the install options.
reecefowell 1 year ago
@reecefowell
yea, thanks man, it works
i found the gcc and g++ complier under the Devel selection
KonKaji 1 year ago
this is a great intro...helped me out
44Glennie 1 year ago
@44Glennie thanks for commenting. Glad it helped.
reecefowell 1 year ago