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

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

瀏覽:347
日期:2024-05-05
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...看更多