I want to run my code with
nohup shellskriptname &. But whenever I try to see the nohup, it says there is no such file. What can I do, so I can enter it like that?
#!/usr/bin/bash
# To Display Files and Folders from current Directory
echo Displaying all the Directories in the current directory
for item in *
do
if [ -d $item ]
then
echo $item
fi
done
echo Displaying all the Files in the current directory
for item in *
do
if [ -f $item ]
then
echo $item
fi
done