Tutorial 5 All answers

Problem completing one of the interactive tutorials?

Moderator: drgrussell

Post Reply
bashul
Posts: 1
Joined: Thu Feb 04, 2016 2:14 pm
Are you a robot or a human?: Human

Tutorial 5 All answers

Post by bashul » Thu Feb 04, 2016 2:20 pm

Question 2
cat club_members names | sort > s1

Question 3
cat club_members names | sort -r > s2

Question 4
cat club_members | sort -n -k 5 > s3

Question 5
cat /etc/passwd | sort -n -k 3 -t : > s4

Question 6
cat /usr/share/dict/words | grep wta

Question 7
grep 'x' /usr/share/dict/words | wc –w

Question 8
grep -n -v nologin /etc/passwd > s5

Question 9
ls -l /etc | grep Aug > s6

Question 10
ls -l /etc/ | sort -k 5,5 -nr | grep Jun > s7

Question 11 (Failure but does the job)
find /var -user root > s8

Question 12 (Failure but does the job)
find /etc -name *.conf > s9

Question 13
find /home/demo -newer s1 | tee /var/tmp/t1

Question 14
Find /etc/ -size +1024kb > s10

Question 15
Find /usr/include –type f –name ‘s*’ –size -25 –exec cp {} /home/demo/smallc \;

jeromelc
Posts: 1
Joined: Thu Mar 31, 2016 10:59 am
Are you a robot or a human?: Human

Re: Tutorial 5 All answers

Post by jeromelc » Thu Mar 31, 2016 11:01 am

Could you please provide explanation for each answer, or a link to the section of tutorials that explains this sections?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests