Solved

UNIX man pages

Posted on 1997-05-06
2
359 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

914 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now