Which mode is used for allowing file write,read and append
mode?
Answers were Sorted based on User's Feedback
Answer / ranjitha s
There are 3 modes in UNIX,
Command mode
Input mode
Exec mode.
Answer for this Q is ....
one shud use switch to the cammand mode. Than execute
chmod 777 filename.extn
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / preeti
chmod 777.
The three 7 individually tell the process for read write
appened.
If we have to read write and execute a file ,all we have to
do is
chmod 777 filename.ext
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ganesh
chmod ou--rwx filename.txt
here it means take off permission of user and other group
for reading,writing,executing the file filename.txt
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pritesh_8
111
bcoz it is not mentioned that file should execute as well
hence
u=rw-rw-rw-
| Is This Answer Correct ? | 0 Yes | 4 No |
What are Unix processes, and how do you manage them?
what is difference between unix and linux?
How to display no of records in oracle using unix command?
which script will invoke first ,when /etc/init.d starts
What is used to type command?
Explain mount and unmount command.
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:
What is an Unix command to convert HEX value to ASCII value located in any flat file.
what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......
What is a bash command?
How to setup Disk space as well as memory in solaris10?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.