How to execute 'ls' command in Linux Shell Script | Linux Shell Script
Jun 24, 2021
LinuxShellScript,
463 Views
How to execute 'ls' command in Linux Shell Script | Linux Shell Script
How to execute 'ls' command in Linux Shell Script | Linux Shell Script
We will create a shell script program to execute the "ls" command and print the result on the command on the console screen.
#!/bin/bash
# Program name: "execute_cmd.sh"
cd /
ls