Solved

UNIX man pages

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

840 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