Unix is the Operating System we use in this class.
Just like Windows and MacOS, Linux is just another operating system.
- Both Mac and Windows user need to set up the UH VPN
- Link to UH VPN HERE
- Make sure you are using internet through the UH VPN
NOTE: In both cases (Mac and PC), your password WILL NOT SHOW when you type it. This is intentional and is implemented for security purposes. Just continue typing and make sure you type your password correctly.
2a. Mac
- Use Terminal (comes with macOS)
- type the following command and wiliki will prompt you for your wiliki password.
ssh username@wiliki.eng.hawaii.edu
- make sure to replace username with your UH username
2b. PC
- Download , install, and run Putty. You can download it here.
- In Host Name type wiliki.eng.hawaii.edu and make sure ssh is selected.
- Click open and a command window will open prompting you for your wiliki username and password.
- Make sure you are connected to the VPN
- Another Issue is storage
- When you are done with files you should delete them. There is only a limited amount of space for each user. Using all your space, will cause problems for you logging in later.
Basic Commands You Should Try in Bash and VI:
pwd
: print working directorycd
: change directorymkdir
: make directoryls
: list directory contenttouch
: update file timestamprm
: remove file or remove directorymv
: move filecp
: copy filevi
: text editor- in vi command mode
- :w
- :q!
- :wq
- :wq!
man
: show the manual for a command- for example you can use the command like shown below
- man ls
- man cp
- man mkdir
- tab: auto-complete
- if a command requires a file name, you can start typing and tab will auto-complete if the files name is unique.
- up: previous command in history
- pressing up goes through the previous command history from latest to oldest.
- Unix is very similar to Linux; read more here and here
- A unix cheat sheet image is available here. You can search online for one or you can make your own.