Solved

unix commands

Posted on 1998-04-20
1
195 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

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

Suggested Solutions

Title # Comments Views Activity
Host issue and need to move VM's 2 244
change HISTFILE for root user on AIX 3 70
Restore XenServer VM with only dd image of LVM snapshot 3 161
reinstall 1 70
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.

895 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

15 Experts available now in Live!

Get 1:1 Help Now