Solved

unix commands

Posted on 1998-04-20
1
198 Views
Last Modified: 2010-04-21
could you please explain in as much depth the source and tail. any help is appreciated.
0
Comment
Question by:tripled
1 Comment
 
LVL 10

Accepted Solution

by:
rbr earned 50 total points
ID: 2006273
tail writes the last line of a file to your stdout. You can set how much lines counted from the end of your file are printed on stdout.

tail -20 filename prints the last 20 lines of filename.

source filename sends the file to the internal script prcessor. So all commands written in the file filename will be executed in your shell.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

790 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