MIDS385: How to get to Nikhil’s files
All Posts, Computers, Linux, mids385 September 26th, 2007Update: Also check out my follow-up post, as promised.
OK, quick post for my classmates.
Open up PuTTY and go to magpie just like you would access your own account. Once you are logged in, type in “cd ../nxs77/public_html/mysql/class2/”. The ‘ls’ command will show you the files in that directory (type in “ls” and hit enter). If you want to copy them all to your public_html directory, type “cp * ~/public_html/”. They are now available in your home directory. If you want to edit them (surely you do, he did part of the assignment for you), type “nano [file you want to edit, without these brackets]“. For example, if I want to edit ‘index.html’ I would type “nano index.html” ‘nano’ is the same thing (essentially) as what Nikhil uses in class (’pico’). So, a few quick hints: CTRL-O saves, CTRL-X exits, there isn’t really anything you can do with the mouse, so you will have to move the cursor around with your up/down keys on your keyboard.
Later, I will post a guide (or a link to a good one if I can find it) on how to edit the files on your computer in something you might be more familiar with (like Notepad).
Feel free to ask questions in the comment form below.
Popularity: 20% [?]
September 26th, 2007 at 11:59 am
Thanks Alex this was really helpful!
September 26th, 2007 at 12:54 pm
I appreciate you taking the time to help others in the class with less experience. This was quite helpful.
September 26th, 2007 at 3:29 pm
you’re a life saver