Beyond Email 2008 Newark Computing Services Education Series http://ncs.newark.rutgers.edu ------------------------------------------ What is UNIX? It is an Operating System. It is not Windows or Mac or Linux. We run Sun Solaris Unix. http://unix.newark.rutgers.edu ----------------------------------------- How to Connect to a UNIX server SFTP Secure File Transfer You can download the secure file transfer client from software.rutgers.edu Log in with your netid and password and type in SSH into the search, it is the second link: Secure Shell and FTP Client hostname: pegasus.rutgers.edu username and password are your netid and password. I'll demo how to drag and drop files and change permissions. Another way to connect is with an SSH Terminal Client called Putty. Google is the best way to find Putty. Just put in Putty in the search box, it's the first link. Also on the lab computers, SSH to pegasus ------------------------------------------ Basic Commands: ls -- Very important. Shows you all of the files and directories in your current directory ls -al -- shows you lots of information about the files and directories cd directory_name -- puts you into the directory called directory_name example: cd public_html cd .. -- takes you up a directory cd -- takes you back to your home directory pwd -- shows you what directory you are in quota -v -- tells you your quota on pegasus is KB mkdir new_directory_name -- makes a directory called directory_name example public_html pico new_file -- opens the pico text editor and creates a file called new_file cat new_file -- prints the new file to the screen less new_file -- prints the new file to the screen in a scrollablefashion cp new_file new_file1 -- copies the file from new_file to new_file1 mv new_file new_file2 -- renames (moves) new_file to new_file2 rm new_file1 -- deletes (removes) new_file1 pine -- command line email client ---------------------------------------------------------------- MySQL Database Here are some ways to access it. Commandline: mysql -u your_mysql_username -p your_mysql_password Some commands: # mysql -u your_mysql_username -p your_mysql_password < file_full_of_sql mysql> use your_database mysql> show tables Your website on pegasus: http://pegasus.rutgers.edu/~your_netid