help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to know < is specified for a script?


From: Peng Yu
Subject: How to know < is specified for a script?
Date: Sun, 8 Mar 2020 13:12:53 -0500

Hi,

Given the following two ways to call script.sh, is there a way in
script.sh to tell how it is called? Thanks.

./script.sh
./script.sh < something

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]