Unix Kernel Tutorial

If you are first beginning to use a Unix operating system, as opposed to a Windows-based OS, then you may be find the difference daunting. In computing, a "kernel" is the main basis for the operating system. In Unix, the kernel is the command-based Terminal that performs the fundamental tasks. Unlike Windows, where the Windows Shell is the primary component of the operating system, Unix relies on both the kernel and the shell. While the kernel has a relatively steep learning curve, you can master the basics very quickly.

Instructions

    • 1

      Launch your kernel. The method will differ depending on the Unix system you have. This is generally called a "Terminal" across all Unix and Unix-like systems. Consult your operating system's documentation if in doubt. The terminal is a window that allows you to enter only text commands.

    • 2

      Type "ls" (without quotes) and press "Enter." The "ls" command lists all contents of the current directory. The "ls" command will leave out files that begin with a "." This is because, in the Unix kernel, a "." indicates a hidden file. To list all files, including the hidden ones, type "ls -a" and press "Enter." In the Unix kernel, commands are often followed by an extra parameter --- in this case, the extra "-a."

    • 3

      Type "mkdir newfolder" to create a new folder entitled "newfolder." Use "ls" again to show you the new folder.

    • 4

      Change directories using the "cd" command. Type "cd foldername", replacing "foldername" with the name of a folder of your choice. Press "Enter." Type "ls" and you will see all files in this new directory. To move backward through directories, use a double period. Type "cd .." and press "Enter."

    • 5

      Find out a pathname by using the "pwd" command. In the Unix kernel, your computer's folders and files are organized as a "path." It may begin as something such as "/home/usr/folder" or in a Mac (a Unix-based system), "/users/username/folder." Knowing the full path is essential when you use the Unix kernel. You now know the basics of using and navigating with the Unix kernel.

Related Searches:

References

Comments

You May Also Like

  • Unix Architecture Tutorial

    The various UNIX Operating System versions like BSD, Solaris, AT&T, HP-UX and Berkley all adhere to a similar system architecture. Breaking down...

  • Linux UNIX Tutorial

    Linux is an open source, Unix-like operating system. Open source refers to the fact that the entire operating system source code is...

  • How to Work With a Unix Kernel

    The Unix operating system contains three parts: the kernel, the shell and the programs. The kernel is the core of the operating...

  • Unix Programming Tutorial

    In 1969, engineers in Bell Labs came up with the idea of Unix, a multi-user scalable operating system. Unix evolved significantly over...

  • Unix Tutorial for Beginners

    Unix is a multi-user, multi-tasking operating system (OS) created in 1969 at the Bell Laboratories. The term multi-user means that one instance...

  • A Tutorial for AIX on Unix

    AIX is IBM's flavor of the Unix Operating System. It runs on IBM's RISC processors and integrates AT&T's System V UNIX with...

  • How to Find Operating System Information with a Unix Command

    The "uname" command is used in the Unix and Linux operating systems to output operating system information for those systems. The information...

  • Unix Shell Tutorial

    The Unix shell is the program that sits between you and the operating system. It functions as a command line interpreter and...

  • Unix Diff Tutorial

    The "diff" is used in the Unix and Linux operating systems to locate the differences between two text files. It was created...

  • Keylogger Tutorial

    "Keylogging" is a shorthand term for the practice of keystroke logging. This is a form of computer surveillance that involves the recording...

Related Ads

Featured