A
A
Anton_rakishev2021-04-10 16:38:03
bash
Anton_rakishev, 2021-04-10 16:38:03

How to add an argument to a command inside a script?

Greetings. There is a need to enter an argument in the form of a variable to the command inside the script. Something like that. Thank you in advance.

b=$(cat ${p} | cut -d${1} -f3)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hint000, 2021-04-10
@Anton_rakishev

$1

S
Saboteur, 2021-04-10
@saboteur_kiev

read VARIABLENAME
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question