Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Assume the following files are in the working directory
prompt> ls -l tasks
-rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks
What command can Alex use to give everyone permission to
write to the file? What will the ls -l
command display if he does so?

Answer Posted / div

chmod 666 tasks will give all users (owner, group and
others) the read-write permission.
r = 4
w = 2
x = 1
therefore rw = 4+2 =6

ls -l : lists a large amount of information of all non-
hidden files and directories in the current working
directory. eg (permissions, owners, size, and when last
modified.)

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are file commands?

1213


What is {} in find command?

1093


How to use grep command to list find the records of a file containing 10 different strings?

1115


What do chgrp command do?

1197


Explain command to show the space allocation of files?

1112


What is the function of grep command in unix?

1167


Write a command to display a file’s contents in various formats?

1193


What is the difference between cat and more command?

1284


What are grep patterns?

1075


What is the behavioural difference between cmp and diff commands?

1268


What is the size of time_t?

1199


What command will change your prompt to myprompt?

1314


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1389


Enumerate some of the most commonly used network commands in unix?

1152


What is the use of the command 'ls -x chapter[1-5]' ?

1200