Inital commit
This commit is contained in:
9
Playground/testCTfile.sh
Normal file
9
Playground/testCTfile.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
CTID=100
|
||||
#CTID=$1
|
||||
FILE=/opt/test
|
||||
if pct exec $CTID -- test -f $FILE ; then
|
||||
echo "File exists in $CTID"
|
||||
else
|
||||
echo "File does not exist in $CTID."
|
||||
fi
|
||||
Reference in New Issue
Block a user