Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to run a command within another command bash

cmd1 "$(cmd2)"

eg1:
echo "Files in a folrer: "$(ls -l | wc -l)""
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #How #run #command #command #bash
ADD COMMENT
Topic
Name
2+8 =