ROCKCI
HOME
DIY
Virtual Servers
User Manual
Chapter 1 Introduction
Chapter 2 Getting Started
Chapter 3 Features
Chapter 4 Security
Appendix A Administrative
Appendix B add-ons
Appendix C facilities

|
UNIX, an introduction and Commands
Chapter 3-1-3 ROCKCI
DIY Virtual Server Features
UNIX, an introduction and Commands
| Unix
was created in the late 1960s, in an effort to provide a multi-user, multitasking
system for use by programmers. The philosophy behind the design of Unix
was to provide simple, yet powerful utilities that could be pieced together
in a flexible manner to perform a wide variety of tasks.
Unix is an operating system. The job of an operating system
is to orchestrate the various parts of the computer -- the processor, the
on-board memory, the disk drives, keyboards, video monitors, etc. -- to
perform useful tasks. The operating system is the master controller of
the computer, the glue that holds together all the components of the system,
including the administrators, programmers, and users. When you want the
computer to do something for you, like start a program, copy a file, or
display the contents of a directory, it is the operating system that must
perform those tasks for you. Idaho
State University |
Your ROCKCI DIY Virtual Server allows
you to enter commands from the command prompt when you shell in using your
TELNET client. The following is a summary of command to get you started.
To try any of the following commands, type the command then Enter
| command |
Description |
| man |
Can be thought of as the HELP for Unix commands command
. Most Unix systems contain a manual (or help) system to get information
about commands. Your ROCKCI DIY Virtual Server is equipped with a manual
on using the system commands. For more information about any
UNIX command, type man at the command prompt , followed by the command
you would like more information about. For example, Typing the command
man cd will bring up the manual page for changing directory.
CD(1)
FreeBSD General Commands Manual
CD(1)
NAME
cd
- change working directory
SYNOPSIS
cd
directory
DESCRIPTION
Directory
is an absolute or relative path name which becomes the new work-
ing
directory. The interpretation of a relative path name by cd depends
on
the CDPATH environment variable (see below).
ENVIRONMENT
The
following environment variables affect the execution of cd:
CDPATH
If the directory operand does not begin with a slash (/) charac-
ter, and the first component is not dot (.) or dot-dot (..), cd
searches for the directory relative to each directory named in
the CDPATH variable, in the order listed. The new working direc-
tory is set to the first matching directory found. An empty
string in place of a directory pathname represents the current
To page through the information press your Enter
key. To quit viewing the manual page press q . |
| cd |
change working directory |
| pd |
return working directory name (lets you know what directory
you are in now) |
| mkdir |
make directories |
| rmdir |
remove directories |
| ls |
list directory contents |
| ls -l |
list directory contents, List in long format showing
permissions |
| chmod |
change file modes (also known as changing file / directory
permissions) |
| cp |
copy files |
| mv |
move files |
| rm |
delete file |
| rm -d |
delete directory (if the directory contains no files) |
| rm -r |
delete files and directories Careful
its dangerous |
| pico |
Starts the pico text file editor program to let you edit
files on your ROCKCI DIY Virtual Server. By entering pico filename
, you can edit the desired file.
Some pico Commands:
Ctrl+G Take the pico tutorial
Ctrl+V View next page
Ctrl+Y View previous page
Ctrl+A Go to the beginning of a line
Ctrl+E Go to the end of a line
Ctrl+C Display the line number that you are currently on
Ctrl+W Search for a word or phrase
Ctrl+O Save (write-out) the file
Ctrl+X Exit the pico editor |
| grep |
Grep searches the named input files (or standard input
if no files are named, or the file name - is given) for lines containing
a match to the given pattern. |
| passwd |
Change your password ! |
| du ~yourlogin |
Check your disk space usage |
There are many sources of information regarding learning
Unix and the above is by no means complete.
Here are some great Unix tutorials:
UNIXhelp for Users
What
Is UNIX
Introduction
to Unix
FreeBSD Tutorials
Powered by ROCKCI DIY
Virtual Servers
|