Skip to main content


developerWorks  >  AIX and UNIX  >

UNIX tips and tricks for a new user, Part 1: File maintenance tools

developerWorks

Level: Intermediate

Tim McIntire (tm@timmcintire.net), Consultant, Freelance Writer

26 Sep 2006

Register now or sign in using your IBM ID and password.

Systems administrators can use a number of programs to maintain files in a UNIX® system from the command line. In this tutorial, you'll experiment with commands, such as cd, cp, and tar, to navigate a UNIX file system from the command line and work with files and directories. The cd command changes directories, cp duplicates files or directories, and tar quickly groups files into an archive. You'll also learn how to deal with file permissions and perform simple input/output.

In this tutorial

  • Introduction

  • Directories

  • Files

  • Ownership and permissions

  • Dealing with multiple files

  • Archives and compression

  • The file system and file sizes

  • Input and output

Prerequisites

You need a basic understanding of computers and files for this tutorial, but no experience in a UNIX-like operating system is expected. You should understand what directories (folders) and files are and be able to log in to your account on a UNIX-like operating system. If you're familiar with the DOS or Microsoft® Windows command line, you'll notice similarities, but users who have never used any sort of command line will do just fine.


System requirements

Access to a user account on any computer running any UNIX-like operating system is all you need to complete this tutorial. UNIX-like operating systems include the IBM AIX® operating system, Linux®, Berkeley Software Distribution (BSD), and Mac OS® X (using Terminal to access the command line), among many others.



Duration

2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community


More in this series:
UNIX tips and tricks for a new user