Goto run - telnet pcfox.net login in: Lastname password: student Midterm Questions On Thursday - True/False Test telnet IP Address for server 137.139.181.41 login: Lastname Have to See Dr Ebrahimi for login and Password password: student (passwd) to change password ls dir Editors in Unix pico vi emax sample program test.cpp pico test.cpp g++ test.cpp ./a.out (run test.exe) g++ -o (change to cgi) g++ -o test.cgi test.cpp (send to cgi instead of ./a.out) ./test.cgi see page 699 for more information two files test.cpp and test.cgi mode has to be public for test.cgi - chmod make public ls - al (list all parameters) http://catcode.com/teachmod (all commands for unix) R readable W writeable X executable #includeusing namespace std; int main() { cout<<"Welcome"< >"fname"; cout<<"Your first name is " << fname; return 0; } g++ -o test.cgi test.cpp ./test.cgi mkdir cgi-bin (make directory for file) ls-al (list all files) chmod755 cd cgi-bin (change directory) mv test.cpp ./cgi-bin (move file to cgi-bin directory) http://www.math.utah.edu/lab/unix/unix-commands.html#cp