How to use VI editor in UNIX?

In UNIX, vi (full screen editor) are most commonly used, although there are many GUI editors. To start editing , use vi <filename>, e.g. umuxremote% vi test If the file is not already existed, it is created when you save the file. Otherwise the content of the file will be retrieved for editing. Vi has […]

Read More

Some useful UNIX Commands

Files Manipulation Commands ls displays the files and subdirectories in the current working directory. pwd displays the current directory. Normally, a user will be placed in his home directory after logging-in. mkdir <dir name> makes the subdirectory called <dir name> under the current directory. rmdir <dir name> removes the subdirectory called <dir name> under the […]

Read More

What is file protection in UNIX?

In order to create, access or remove a file, a user must have the appropriate permission right in accordance with the protection mode accompanying the file. If a user types “ls -ls” under shell, the information about the files is shown: total 4 2 -rwxr-xr–      1    C01                        914 Feb 28 15:23     prog.x 1 drwx——      2    […]

Read More

What is the structure of file system in UNIX?

The file system may be thought as an upside down tree. A node of the tree may be a special file, a directory files or an ordinary file. Under a directory node, a sub-tree having the same structure may be built. A picture of the file system would start with the main file directory called […]

Read More

Do you know what are the files types in UNIX?

There are three types of files in Unix: Ordinary File: Files created by users to store programs and data. Directory: Files that provide the mapping between names of files and the physical files. Special File: Files used for the control of devices. The “ls -ls” command will display all files information in your current directory.

Read More

How do I remotely login to the UNIX System?

In order to provide convenient access to UNIX System, two remote desktop (umuxremote01, umuxremote02) servers are provided for campus-wide remote access. Users can remotely access to these servers by using any computers in campus network with your PC LAN user ID and password. In order further facilitate teaching of UNIX system, two desktop shortcuts for […]

Read More