answersLogoWhite

0

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

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

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.


What command do you use to make a file hidden in Unix?

+h The above answer is incomplete and incorrect; "normally hidden" files in Unix merely start with the '.' character and are not normally shown by the ls command. Use the 'mv' to rename it if it doesn't start with a period.


What command do you use to rename the old system file instead of copying it?

For Linux, use the 'mv' command, which is a rename


What do CD command do in unix?

The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.


Why file command is used in unix?

The 'file' command in Unix attempts to guess what type of file you are looking at by reading the first several sections of the file and comparing it to a list of known contents for files. It is a useful command if you just want to know what type of file something is without having to examine it yourself. The command is not perfect because it does not detect all types of files but it does a reasonable job of guessing. It is used because in Unix there are no file extension types to tell us what kind of file a given file might be; you have to look inside the file to tell how it might be used.


What is a file command used to create or start a new file?

The 'touch' command creates a new empty file in Unix.


How do you rename files in QNX?

QNX's shell is POSIX compliant, so you can use Unix commands on the system. To "rename" a file, you move it. mv oldfilename newfilename is equivalent to renaming the file.


How do you create dummy file in unix?

using touch command of UNIX. syntax touch <filename> will create dummy regular file.


How do you check a file for spelling errors in unix?

Depending on the Unix vendor, there is usually a 'spell' or 'ispell' command available to spell check words in a file.


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.


In unix how will you find extension of file using commands?

Unix files do not rely on extensions, therefore there is no command to find them.


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...