Shell script print all arguments | Sany's Linux and Open Source Blog

Shell script print all arguments | Sany's Linux and Open Source Blog

瀏覽:812
日期:2025-04-29
There are some predefined variables which holds some data related to arguments in shell. $# - to print arguments size. $* and $@ - to print all arguments that are passed to a shell script(we can use the in loops - for or while). Examples: My script t.sh c...看更多