The University of Texas at Austin

Web Publishing on Unix

Managing Files at an SSH Terminal

For the following procedures, make sure you have logged in to an SSH Client and are at the Unix terminal. Instructions on how to log in to an SSH Client can be found at the Help page.

To submit a command line in Unix, press Enter.

Creating and editing files

Pico is an easy-to-use text editor provided with your UTS account.

To edit the contents of a file with Pico, enter the command pico filename.

Note: Help and menu options will be provided in the program.

Creating a directory

To create a directory, enter the command mkdir directoryname.

Deleting a file or directory

  • To delete a file, enter the command rm filename.

  • To delete an empty directory, enter the command rmdir directoryname.

  • To delete a directory containing files, enter the command rm -R directoryname.

Moving or renaming files

The mv command allows files to be moved from one directory to another or to be renamed.

  • To move a file to a new directory, enter the command mv filename directoryname.

  • To rename a file, enter the command mv oldfilename newfilename.

Last updated February 12, 2013 @ 4:03 pm

We Can Help

Get help from an expert at the ITS Help Desk!

* Call us at 512-475-9400

* Submit a help request online

We also have a walk-in service in the first floor lobby of the Flawn Academic Center (FAC). Stop by and let us help you!