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

Summary

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).
PuTTY can be download here.

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.

Mac users

Mac users can use terminal app under Utilities to connect to uxb4 using ssh with your ECOM username and password WIU523418-Hoang-Bui:~ hoangbui$ ssh hb117@uxb4.wiu.edu Warning: the ECDSA host key for 'uxb4.wiu.edu' differs from the key for the IP address '10.50.50.11' Offending key for IP in /Users/hoangbui/.ssh/known_hosts:2 Matching host key in /Users/hoangbui/.ssh/known_hosts:3 Are you sure you want to continue connecting (yes/no)? yes NOTICE TO USERS --------------- This system is to be used only by authorized personnel, and all others will be prosecuted. Activities on this system are automatically logged and subject to review. All data on this system is the property of Western Illinois University, which reserves the right to intercept, record, read or disclose it at the sole discretion of authorized personnel. Specifically, system administrators may disclose any information on or about this system to law enforcement or other appropriate individuals. Users should not expect privacy from system review of any data, whether business or personal, even if encrypted or password-protected. WIU abides by the Family Educational Rights and Privacy Act of 1974, and takes precautions to prevent the disclosure of confidential information. Use of this system constitutes consent to these terms. hb117@uxb4.wiu.edu's password: uxb4:~%

Commands

uname

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

pwd

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

ls

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

cd

Navigate to a directory uxb4:~% cd Files/ uxb4:~/Files% ls bar foo uxb4:~/Files% If you are using one of the computer in any Stipes computer lab, 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

mkdir

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

Date and time
uxb4:~% date Sun Jan 21 11:51:02 CST 2018

who

Show who is currently using the system
uxb4:~% who mflll pts/0 2018-01-21 04:50 (wiu516955.ad.wiu.edu) mflll pts/1 2018-01-21 04:57 (wiu516955.ad.wiu.edu) mfbg pts/2 2018-01-21 09:58 (173-21-130-116.client.mchsi.com) mflll pts/5 2018-01-21 07:59 (:1) hb117 pts/8 2018-01-21 11:49 (10.28.42.224) hb117 pts/9 2018-01-21 11:38 (10.28.42.224:S.0) hb117 pts/10 2018-01-21 11:38 (10.28.42.224:S.1)

who am i

Your username/userid/handle
uxb4:~% who i am hb117 pts/10 2018-01-21 11:38 (10.28.42.224:S.1)