Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
linux loop over all arguments one by one
embio
Programming language:
Shell/Bash
2021-06-06 07:29:45
0
Q:
linux loop over all arguments one by one
Sqeaky
Code:
Shell/Bash
2021-03-22 14:03:15
for var in "$@" do echo "$var" done
2
Tags
linux
loop
Related
count number of lines in directory linux
linux shell loop through all inputs except last
bash pass all arguments
bash delete first n characters of each line
bash cd too many arguments
bash count number of arguments
bash print lines that contain multiple specific words
how to collect values from each iteration of a loop and save them bash
bash print lines that match any of several words
bash print one line until match
bash awk how to print specific rows
bash count the number of lines that meet condition
count occurrences of word in file linux
bash print rows that contain substring in field
get first few characters of file linux
New to Communities?
Join the community