I tried the following code, but I'm missing something somewhere. I want to create a symbolic link to all *.conf files from /etc/ in /root/links
#!/bin/bash
for conf in /etc/
do
ln -s "$conf" "/root/links/$conf"
done
I tried the following code, but I'm missing something somewhere. I want to create a symbolic link to all *.conf files from /etc/ in /root/links
#!/bin/bash
for conf in /etc/
do
ln -s "$conf" "/root/links/$conf"
done
did you mean:
?