Dosdir to do a dir ls in unix on a dos floppy in the

This preview shows page 42 - 45 out of 45 pages.

given host. dosdir to do a "dir" (~ls in UNIX) on a DOS floppy in the disk drive dosread to read a file from a DOS floppy to your computer account doswrite to write a file from your computer account to a DOS floppy du lists all subdirectories and their sizes (in blocks?) and total directory size (in blocks?) (takes a long time) du -a lists all files and their sizes (in blocks?) in present directory and total directory size (in blocks?) (takes a long time) du -s lists overall directory size (in blocks?) (long but clean) env shows current environment set-up find Searches the named directory and it"s sub-directories for files. Most frequently called like this: find ./ -name "t*" -print Which searches the current directory ( and all of its sub-directories ) for any files that begin with the letter "t" and then prints them out. If you are looking for a specific filename, then replace "t*" with "filename", and "find" will print out all incidences of this file. finger @. (e.g., finger [email protected] fingers Johndoe at Kent State University) ftp establishes an ftp link with machinename gzip produces files with a .gz extension. gunzip decompress files created by gzip, compress or pack. ispell f Interactively checks the spelling of the file f, giving logical alternatives to the misspelled words. Type "?" to get help. "ispell" can be accessed from the command line, and also through emacs with M-x ispell-buffer.
Image of page 42

Subscribe to view the full document.

kill -9 -1 (from a remotely logged-in site) kills all running processes (essentially forces a logout) *not to be used unless nothing else works* kill -9 process-id# - kills a running process lpq shows UNIX print queue lpr to print the file lpqrm job# removes job from printer queue ls shows listing of files in present directory ls -a shows listing of all files in present directory ls -l shows long listing of files in present directory ls -la | more shows long listing of all files in present directory man command shows help on a specific command. mkdir D creates a new directory called D more to view the contents of a file without making changes to it one screen at a time. Hit q to quit more. mv f1 f2 Rename file f1 as f2 mv f1D moves the file called f1 to the directory D nslookup host domain name, IP address, and alias information for the given host. e.g., nslookup gives related data for passwd to change your password (takes an hour or so to take effect on all machines) ping host to test if the host is up and running. pwd present working directory ps Shows processes running ps -flu Shows detailed description of processes running pquota Shows printer quota quota -v Shows current disk usage and limits. rlogin allows you to remotely log in to another machine on which you have access privileges rm f Delete (removes) the file f. rm -i f To be prompted for confirmation before you remove a file f, at the UNIX prompt, type rm dir D Delete (removes) the empty directory D rm - r D removes the directory named D and its contents - use with caution s f Alphabetically sort f.
Image of page 43
talk establishes an e-talk session with [email protected] tar combines multiple files into one or vice-versa telnet allows you to remotely log in to another machine on which you have access privileges uncompress uncompresses filename.Z users
Image of page 44

Subscribe to view the full document.

Image of page 45

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern