Solved

unix commands

Posted on 1998-04-20
1
190 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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 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…
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.

707 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

12 Experts available now in Live!

Get 1:1 Help Now