Daniel Norton <[EMAIL PROTECTED]> wrote:
> How do I tell bash to kill job 1, rather than pid 1 ?
man bash, in the section JOB CONTROL:
# There are a number of ways to refer to a job in the shell. The
# character % introduces a job name. Job number n may be referred to
# as %n. A job may also
Aman Jain wrote:
> Hi
>
> I would like to create an alias to show Nth line of a file.
>
> I tried something like
> alias shline='head -$1 $2 | tail -1' #$1 is the line number and $2
> is the filename
># Usage should be :
> $shline 5 fi
Hi
I would like to create an alias to show Nth line of a file.
I tried something like
alias shline='head -$1 $2 | tail -1' #$1 is the line number and $2
is the filename
# Usage should be :
$shline 5 file.txt
But it isn't working..