CS 371 and NET 371 - UNIX - How to Connect to uxb4.wiu.edu


This guide will show you how to connect to a Linux server uxb4.wiu.edu and introduce you to to the Linux environment (shell/terminal).

Connecting to uxb4.wiu.edu

We will use a tool named PuTTY to connect to uxb4.wiu.edu. There are other tools available but let's start with PUTTY
Enter uxb4.wiu.edu under Host Name.
Hit "Yes" to accept.
Type in your ECOM username.
Hit "Return/Enter" and type in your ECOM password.
You will get to this screen.



Display system information uxb4:~% uname Linux uxb4:~% uname -r 3.13.0-48-generic


Show current working director uxb4:~% pwd /home/hb117


List what inside a directory uxb4:~% ls Files http https journal.txt junk lab00 temp UNIX_lab_0.html usr work www


Navigate to a directory uxb4:~% cd Files/ uxb4:~/Files% ls bar foo uxb4:~/Files% Whatever you put or /create in the Files directory will be accessible in P drive

cd ..

Navigate back one directory
uxb4:~/Files% pwd /home/hb117/Files uxb4:~/Files% cd .. uxb4:~% pwd /home/hb117


Create a directory
uxb4:~% cd Files uxb4:~/Files% mkdir lab00 uxb4:~/Files% ls bar foo lab00

cd ~

Go back to your home directory
uxb4:~/Files% cd lab00 uxb4:~/Files/lab00% pwd /home/hb117/Files/lab00 uxb4:~/Files/lab00% cd ~ uxb4:~% pwd /home/hb117


Date and time
uxb4:~% date Thu Aug 25 10:12:07 CDT 2016


Show who is currently using the system
uxb4:~% who jmm116 pts/1 2016-08-25 09:16 (50-44-181-175.bltn.il.frontiernet.net) mjm125 pts/2 2016-08-20 14:29 (:2.0) mjm125 pts/3 2016-08-20 14:29 (:2) ds145 pts/9 2016-08-22 11:22 ( mflll pts/6 2016-08-24 14:38 (:1) hb117 pts/8 2016-08-25 10:11 ( hb117 pts/10 2016-08-25 10:11 (

who am i

Your username/userid/handle
uxb4:~% who i am hb117 pts/8 2016-08-25 10:11 (