Please help i am losing my mind ... UNIX Newbee
 

23. How do you add a line to the end of an existing file "myfile" with date stamp. (1)


Ans :
/home/clopez ed test.txt
        $a
        The last line of text.
        .
        w

        q

24. Display recent 10 java files, (with *.java extension) , in descending order by time, latest to oldest time. (1)


Ans :

 

25. How do you set only read permissions to user, group and others in octal mode for a file "myfile.txt" ? (2)
Ans:

26. You observed that some of your group members are fiddling with your file  "myfile" and you wanted to remove the read permission to your group. How do you do? (1)

Ans:

 

28. Here is another long listing of a file. (1)


-rw-r----- 1 Y435678 odms 20 Sep 02 17:03 file.txt.

 

What are the owner permissions?

read, execute
read, write
write, execute
all since s/he is the owner

 

Ans: 

29. The file “users_data” has the following contents :  (1)
Tom  Smith       7.00  15  105.00
Rob  Sheryl       8.00 20  160.00
Ken  Bradman  7.00 13   91.00
Peter Smith      6.00 15   90.00
Dennis  Smith   8.00 13  104.00
Tom  Dave        9.00 12  108.00 

How do you sort the above file and redirect the output to another file called “sortedusers”

Ans : 

20. What is the command to list files in a directory : (2)

A.     Having only three alphabets:


Ans:
B.     Starting with a digit and ending with a digit


Ans:

 
Carlos Lopez
 
Computer Tech
phone: (440)396-7474
email: [EMAIL PROTECTED]
 
 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to