I know this is a silly question, but since I am trying so hard to learn linux by myself, I need some help from you fellows.
I found this task on the internet and I am trying to solve it but I don't understand exactly how can I use makefiles in linux and how can I create them.
Let's suppose my print working directory is /home/george/Documents
I want to create a makefile which does the following:
- Displays a message as follows "hello work, today is Sun". Sun comes from Sunday. So I must use
date
command in this make file to display just first three letters. compress
/etc/hosts
in/tmp
usinggzip
(probably here should be something likegzip -c SOURCE DESTINATION # ??
Cheers