How do you display the filename in Unix?
Answer
Common UNIX Commands
Answer
Common UNIX Commands
- File Commands.
- cat filename – displays file on terminal.
- cat file1 >> file2 – appends file1 to the bottom of file2.
- cp file1 file2 – copies file1 to file2 (file2 may optionally specify a different director: i.e., moves file to another directory)
- mv file1 file2 – renames file1 to file2.