Linux Internals Tutorial
A Linux-based OS has a steep learning curve. Most Linux-based operating systems rely on use of the Terminal, or Shell. This is similar in a way to the Command Prompt in Windows, yet more powerful. With the Terminal, you can perform all everyday tasks, such as moving, deleting and copying files, creating directories and downloading and installing new programs. More advanced features tend to be tucked away within the Terminal, such as boot list editing, compilers and super user privileges.
Instructions
-
Using the Linux Shell
-
1
Open the Terminal, or console, and type the command "ls." Use the "cd Desktop" command to change to your Desktop directory. Type "ls" again to view the contents of your Desktop.
-
2
Create a directory on your Desktop named "Stuff" using the "mkdir stuff" command. Delete the "Stuff" directory using "sudo rm -d --Stuff." Change directories to your Home folder using "cd $."
-
-
3
Create a read-only directory named "keep out" using the command "mkdir -m 444 keep out." Change back to your Desktop directory using "cd Desktop."
-
4
View your hardware information using "lspci." Make a new directory on your Desktop named Move-Me using "mkdir Move-Me."
-
5
Make a second directory named "keep-me" using the command "mkdir keep-me." Copy the Move-Me directory into the keep-me directory using "cp -r Move-Me keep-me/."
-
6
Make sure you are connected to the Internet, then use the command "sudo apt-cache search nethack." Use the same command again replacing nethack with a search term of your choice. Install programs using "sudo apt-get install" and the name of the program.
-
1
Tips & Warnings
Using "sudo" requires an administrator's password.
Linux is case sensitive. /Desktop and /desktop are two different folders.
Using "apt-cache search" is a great way to find new programs quickly.
Check your spelling and capitalization.