Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd /etc/alternatives
- for f in $(ls -l| grep oracle | grep -v "\.gz" | rev | cut -d' ' -f3 | rev); do
- sudo update-alternatives --auto ${f};
- done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement