Presentation is loading. Please wait.

Presentation is loading. Please wait.

Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.

Similar presentations


Presentation on theme: "Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd."— Presentation transcript:

1 Next Unix Topics Tuesday, 2/11 & 18/2014

2 Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd Then follow prompts Questions or issues, call CSE Help Desk at 292-6542

3 How to print a file directory Directories are not printable in Windows and MacOS X do a directory in Unix redirect output to file print that file

4 Print Directory ls –la – To display directory ls –la > temp – To redirect output to file ls –la | temp – Won’t work because piping requires a program – To pipe to another program, so ls –la | cat

5 Start a Web Page Working between your own machine and CSE machine mkdir, rmdir, rm, cat, chmod 644, some simple HTML Basic Web page - HTML 4251 Sample sample text more text To copy a file (this one) from my Mac to faclinux to be on my web page: Bobs-MacBook-Air:~ bobmathis$ scp -r ~/Desktop/CSE4251_Sp14.doc bmathis@faclinux.cse.ohio-state.edu:WWW/4251/CSE4251_Sp14.doc Then update file permissions.

6 Alias Typing the command alone, shows what exists dir alias ls –la

7 Entering & Editing Text emacs, vi, pico or nano pico is the editor I use – because it is simplest vi has two modes – entering text and editing it emacs is most powerful Choose what suits you and what your friends are using

8 vi vim – vi Improved vi :xexit (save changes & quit) :q!quit without saving :wwrite file :w write

9 emacs Ctrl-x Ctrl-wwrite file Ctrl-x Ctrl-csave-buffers-kil-emacs

10 Shell Variables

11 Unix File System Tree

12 Shell Scripts Writing programs at operating system level First trial script: #! /bin/bash # This is our first script. echo "Hello World!"


Download ppt "Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd."

Similar presentations


Ads by Google