Hi , I just wrote this shell script ( with help from SO MANY sites).
i havent included the #!/bin/sh line on top and when i try to run this file from the terminal :Code:varx = $(ps ux | awk '/vlc/ && !/awk/ {print $2}') echo $varx
# ./vlc.sh
I get the Following output :
What am i doing wrong ? Please help me , Im out of my mindCode:./vlc.sh: line 1: varx: command not found
Bookmarks