How to use bash array?

How to set NGINX max post size?

Maslosoft
  • Blog
  • Products
  • Apps
  • Websites
  • Learn
  • Contact

More results
Home page Knowledge Base How to pass all parameters to different bash script?

How to pass all parameters to different bash script?

bash shell

In other words, how to get all parameters passed to current script and optionally forward to other one. 

Bash has special variable containing those parameters: $@

Example of using $@

#!/bin/bash
./my-script $@

You might also like:

How to synchronize files from remote server?

bash ssh rsync

How to synchronize files from remote server?
How to use bash array?

bash array shell multiline line

How to use bash array?
How to clean old snaps?

ubuntu linux snap cleanup bash

How to clean old snaps?
How to prevent a lot of logs output in TensorFlow?

tensorflow bash logs

How to prevent a lot of logs output in TensorFlow?
How to echo to file with sudo - using tee?

bash echo sudo tee files file

How to echo to file with sudo - using tee?
How to list manually installed (added) packages in Ubuntu

ubuntu linux bash apt shell

How to list manually installed (added) packages in Ubuntu
How to list all services in Ubuntu 18.04?

18.04 ubuntu systemctl services bash 20.04

How to list all services in Ubuntu 18.04?
How to make screenshot of PDF cover (first page) using command line?

pdf bash convert command-line

How to make screenshot of PDF cover (first page) using command line?
  • Featured Products
  • Framework
  • Mangan
  • Manganel
  • Addendum
  • Signals
  • Embedi
  • Binder
  • Hedron
  • Staple
  • Awe Share
  • Playlist
  • Miniview
  • Whitelist
  • About
  • Contact
  • Privacy policy
  • External Resources
  • GitHub
  • Packagist

Contact us

Maslosoft LLC

16192 Coastal Highway
Lewes, Delaware 19958, USA

  contact@maslosoft.com

  +48 514 920 103


© 2012 - 2025 Maslosoft LLC

CMS and Hosting Bene Best