Red Hat Linux Environment

320 Words2 Pages
Red Hat Linux Environment Natalie Howard POS/420 [ April 23, 2012 ] Henry Tran B. Logon to the Red Hat Linux Environment (8 points.) Answer the following questions: 1. What is the command to change your password? passwd 2. What is your home directory? nat@ubuntu:~$ 3. Create a directory called class. mkdir class 4. Move into that directory. cd class 5. Create a text file that contains what is your absolute path, relative path and call it paths.txt – you can fill in anything on your path.txt file. Save txt file. 6. What is the full path of your created file? 1. Changing password for nat. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully nat@ubuntu:~$ 2. nat@ubuntu:/home$ cd nat@ubuntu:~$ cd ~ nat@ubuntu:~$ 3. nat@ubuntu:~$ mkdir class mkdir: cannot create directory `class': File exists nat@ubuntu:~$ cd class nat@ubuntu:~/class$ 4. nat@ubuntu:~$ mkdir class mkdir: cannot create directory `class': File exists nat@ubuntu:~$ cd class nat@ubuntu:~/class$ 5. what is your absolute path, relative path and call it paths.txt /home/nat/class Hope this is the correct way. nat@ubuntu:~/class$ touch testpath.txt nat@ubuntu:~/class$ ls -la total 8 drwxr-xr-x 2 nat nat 4096 2012-04-23 13:03 . drwxr-xr-x 25 nat nat 4096 2012-04-23 12:24 .. -rw-r--r-- 1 nat nat 0 2012-04-23 10:58 paths.txt -rw-r--r-- 1 nat nat 0 2012-04-23 12:51 pwd -rw-r--r-- 1 nat nat 0 2012-04-23 13:03 testpath.txt nat@ubuntu:~/class$ 6. nat@ubuntu:~/class$ ls paths.txt pwd testpath.txt nat@ubuntu:~$ cd class nat@ubuntu:~/class$ cat testpath.txt what is your absolute path, relative path and call it paths.txt /home/nat/class Hope this is the correct way.

More about Red Hat Linux Environment

Open Document