Skip to content

Instantly share code, notes, and snippets.

@yedi
Created July 12, 2016 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yedi/cddd64a12102114025303d56e39c4927 to your computer and use it in GitHub Desktop.
Save yedi/cddd64a12102114025303d56e39c4927 to your computer and use it in GitHub Desktop.
vagrant@vagrant-ubuntu-wily-64:~/workers$ sudo rm -rf node/
rm: cannot remove ‘node/bin’: Directory not empty
rm: cannot remove ‘node/include’: Directory not empty
rm: cannot remove ‘node/lib’: Directory not empty
rm: cannot remove ‘node/share’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ sudo rm -R node/
rm: cannot remove ‘node/bin’: Directory not empty
rm: cannot remove ‘node/include’: Directory not empty
rm: cannot remove ‘node/lib’: Directory not empty
rm: cannot remove ‘node/share’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls node
bin include lib share
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls node/bin/
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls node/include/
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls node/lib/
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls node/share/
vagrant@vagrant-ubuntu-wily-64:~/workers$ rmdir node/share/
rmdir: failed to remove ‘node/share/’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ sudo rmdir node/share/
rmdir: failed to remove ‘node/share/’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls -la node/share/
total 0
drwxr-xr-x 1 vagrant vagrant 68 Jul 12 19:42 .
drwxr-xr-x 1 vagrant vagrant 204 Jul 12 19:42 ..
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls -la node/lib/
total 0
drwxr-xr-x 1 vagrant vagrant 68 Jul 12 19:42 .
drwxr-xr-x 1 vagrant vagrant 204 Jul 12 19:42 ..
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls -la node/include
total 0
drwxr-xr-x 1 vagrant vagrant 68 Jul 12 19:42 .
drwxr-xr-x 1 vagrant vagrant 204 Jul 12 19:42 ..
vagrant@vagrant-ubuntu-wily-64:~/workers$ tree -a
The program 'tree' is currently not installed. To run 'tree' please ask your administrator to install the package 'tree'
vagrant@vagrant-ubuntu-wily-64:~/workers$ ls -la node/lib
total 0
drwxr-xr-x 1 vagrant vagrant 68 Jul 12 19:42 .
drwxr-xr-x 1 vagrant vagrant 204 Jul 12 19:42 ..
vagrant@vagrant-ubuntu-wily-64:~/workers$ rmdir node/lib
rmdir: failed to remove ‘node/lib’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ rm rf node/lib
rm: cannot remove ‘rf’: No such file or directory
rm: cannot remove ‘node/lib’: Is a directory
vagrant@vagrant-ubuntu-wily-64:~/workers$ rm -rf node/lib
rm: cannot remove ‘node/lib’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ rm -Rvf node/lib
rm: cannot remove ‘node/lib’: Directory not empty
vagrant@vagrant-ubuntu-wily-64:~/workers$ sudo rm -Rvf node/lib
rm: cannot remove ‘node/lib’: Directory not empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment