diff --git a/Class-Linux/1.sh b/Class-Linux/1.sh new file mode 100644 index 0000000..e79279e --- /dev/null +++ b/Class-Linux/1.sh @@ -0,0 +1,2 @@ +## How to put bg process to foreground +## what is the use of nohup and & in linux? diff --git a/sample-scripts/getpath.sh b/sample-scripts/getpath.sh index 704190c..ded98c0 100644 --- a/sample-scripts/getpath.sh +++ b/sample-scripts/getpath.sh @@ -3,4 +3,5 @@ pkgName=$1 command -v "${pkgName}" 1>/dev/null 2>&1 && command -v "${pkgName}" || echo "${pkgName} not found" -echo "${pkgName}" \ No newline at end of file +echo "${pkgName} +echo "${pkgN3ame} \ No newline at end of file