# Use command line to override parameters in the job script The command line parameters takes precedence of those in the job script. ## Example 1 Consider the job script `run1.sh`: ```bash #!/bin/bash #$ -pwd #$ -l h_data=2G,h_rt=1:00:00 echo 'hello world' ``` Submission command: ```bash qsub -l h_data=4G run1.sh ``` results in a job request of: - `h_data=4G` (from command line, overriding the `h_data` value in the job script) - `h_rt=1:00:00` (from the job script) ## Example 2 Consider the job script `run2.sh`: ```bash #!/bin/bash #$ -pwd #$ -l h_data=2G,h_rt=1:00:00 echo 'hello world' ``` Submission command: ``` qsub -l exclusive,h_rt=2:00:00 run2.sh ``` results in a job request of: - `-l exclusive`: from command line (new) - `h_data=2G`: from job script - `h_rt=2:00:00`: from command line (overriding the `h_rt` value in the job script)