Solved

UNIX man pages

Posted on 1997-05-06
2
366 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 50 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help stop mail server from sending spam. 27 127
Audit HISTFILE for all users on AIX 9 133
Unix, date minus 1, 2 or 3 days (last working day) 11 53
cron job says it ran, no results 25 118
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

810 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