Answer Posted / arnab
tar -jcvf log.tar.gz log
where j = .gz extention
c = create
v = varbose
f = file
or
tar -zcvf log.tar.bz2 log
where z = .bz2 extention
c = create
v = varbose
f = file
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.
What is echo command in batch file?
How to write the output of a command to a file?
What are the basic dos commands?
How many linux commands are there?
What does kill in linux?
What does cd – command do?
What are the examples of simple command?
What is the command can be run to remove all the rules in an iptable table?
What is apple llvm?
What is df -h command?
How do I check command history?
Why is linux cpu usage so high?
What does && mean in bash?
How do you grep?