Solved

UNIX man pages

Posted on 1997-05-06
2
348 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

772 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

11 Experts available now in Live!

Get 1:1 Help Now