Assignment No 2: (Unix Command Practice):-
Ques 1: Give me 2 example of strings that would match the following regular expressions: a*b*c
^
I
want
ate$
h[aeiou]t
Ques 2: Assuming that a file's current permission are rwx r-- r-x , specify chmod expression required for this change
Ques 3: Your application home directory is full? How will you find which directory is taking how much space?
Ques 4: How do you find for how many days your Server is up?
Ques 5: How to check if a file is present in a particular directory in Unix?
Ques 6: You have an IP address in your network. How will you find hostname and vice versa?