which command is used to identify the type of the file?
Answers were Sorted based on User's Feedback
Answer / shaishaw
file file_name
e.g
$ file deepak.txt
deepak.txt: ASCII text
| Is This Answer Correct ? | 5 Yes | 0 No |
What is the difference between awk and grep?
what is the use of "fg" command ?
what is the command to get help on a UNIX terminal?
how to delete entire records in unix ?
Why is it called a shebang?
what is mount ,tell me about mount ,how can u use in real time project??
What is command substitution?
What is the difference between grep and grep?
What is s and g in sed command?
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?
What does the md command do?
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance