Unix File system Commands: Directories

Now that the UNIX tree-structured file system has been introduced, it would be useful to know how to find our way through the system and how to create files, delete them and rename them. cd: Change Directory To move from one directory to another the cd command is used. Use as: cd [directory] directory may … Read more

UNIX TCP Wrappers

Traditionally, UNIX systems allow any host, from anywhere, to connect to its various services (such as telnetd, ftpd, POP/IMAP). Since the majority of NRC’s systems are connected directly off the Internet, it means anyone may have access to the systems and their services. To restrict who has access to which service, TCP wrappers are used … Read more

Unix SSH

SSH (Secure SHell) is a protocol used to provide secure connections between two hosts. The secure connection is provided by encrypting the entire session between the two systems. Each system has a pair of keys: a private and a public key. The keys are created at the same time, so they do have a direct … Read more

Unix File Permissions

File permissions have already been introduced in the File System article. USE them. If you have a file, or a directory which contains sensitive information, close it to everyone but yourself (using chmod 700 file). If a file is to be run, but the contents should not be seen by any user, do not allow … Read more

Shells

A shell is a program that interprets and runs the commands typed at the console by the user. The shell sends requests to the kernel, which executes them. UNIX comes with various shells, the most common being the C Shell, the Bourne Shell and the Korn Shell. IRIX adds the Tenex Shell. linux includes both … Read more

How to Troubleshoot a Network

Check the hardware. When you’re beginning the troubleshooting process, check all your hardware to make sure it’s connected properly, turned on, and working. If a cord has come loose or somebody has switched off an important router, this could be the problem behind your networking issues. There’s no point in going through the process of … Read more