answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How does unix access a file from a directory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where would you find a host file on a unix server?

The host file in Unix is usually located in the /etc directory.


How does Unix work as a multi-user operating system?

When a user logs in to a Unix system, the current working directory normally starts at the directory/file


In Unix what is the command for Displaying whether a file is a simple file or a directory?

Use the file type test: if [ -d $file ]; then echo $file is a directory elif [ -f $file ]; then echo $file is a file else echo $file is not a directory or a file fi


What are five unix commands?

cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...


How do you rename a directory in UNIX?

You rename a directory the same way you rename a file. Use the 'mv' command to rename it.


Can there be more that one root directory in the UNIX file system?

No, because the root is the very top of the directory structure. It has to be unique.


What is the command to rename a given file in UNIX?

mv dir1 new_dir mv file file1 rename / move a file or directory


What is A Free Alternative to Active Directory?

LDAP (Lightweight Directory Access Protocol) often used in Unix and Linux environments, Active Directory is based on LDAP.


Can a directory be called a file?

Yes. A directory can be called a file and, in most implementations, under the wraps, it is a file, but it is not a file that an ordinary user can access. It is the responsibility of the file system code in the operating system. Unless you are writing code that manages file systems, it is best to think of a directory as a directory and to use the API provided to access it.


What is the output of the command file file in unix?

Assuming you had a file called 'file' in the current working directory it would try to guess what type of file it is, based on its contents.


Explain the different types of files in unix?

The UNIX operating system consists of Regular Computer files. In addition there are listed file directory , symbolic link file, named pipe file, domain socket file, device file, and doors (computing) file.


Explain different types of files in UNIX?

The UNIX operating system consists of Regular Computer files. In addition there are listed file directory , symbolic link file, named pipe file, domain socket file, device file, and doors (computing) file.