Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

UNIX man pages

Posted on 1997-05-06
2
Medium Priority
?
389 Views
Last Modified: 2010-05-18
Please help me if you can better explain the man pages:
CAT WC UNIQ LS CHDIR

I am fairly ok on the CHDIR and CAT but help on these and the others would be greatly appreciated!
0
Comment
Question by:cheesie
2 Comments
 

Expert Comment

by:Hal9k
ID: 2006262
Well, the man pages under Solaris and Linux are pretty obvious
and clear for these commands.
What Unix (Type and Version, e.g. Sun Solaris 2.5.1) do you use ?
And what Language (English, German, French, ...) ?
0
 
LVL 1

Accepted Solution

by:
adamolson earned 100 total points
ID: 2006263
hello.  

   wc:  this command is used to count the lines, words, etc., in a file.  (i.e.  to count the number of lines run "wc -l filename" and it will return the number of lines) wc -w returns the number of words and so on.  

   ls:   display files or directories (i.e. "ls /" will show you all the files and dir. in the root directory)  ls -l shows you more details.
 
   uniq:  used to display only one line and no duplicates from the input file.  (i.e. if the file test has two lines that are the same and you run uniq on it (uniq test) it will display just one line.

    does this help?  Adam
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question