ls -al .vscode-server
# . .. bin
ls -al .vscode-server/bin
# . ..
I tried to use rm -rf .vscode-server to remove .vscode-server, and got rm: cannot remove 'dir-name': Directory not empty.
I tried to figure out which process is using dir and found no result.
lsof .vscode-server/.
# empty result
So, what can I do to remove .vscode-server?
The
rmcommand cannot remove non-empty directories unless given the recursive flag-rIf you are trying to remove the .vscode-server directory using
rm, then you would want to use: