var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
need this command
need these command in linux..
to delete all the domain files in /var/named/domains
to empty the contents of /etc/named.conf
can someone help me with the commands please
rm /var/named/db.* or rm /var/named/*.db
vi /etc/named.conf , scroll down to the line that u want to delete everything after it and hit DG this will delete everything from that line.
if u want empty it at all just do cat /dev/null > /etc/named.conf
make sure you have a backup of them like doing something
tar -cvf /tmp/namedbackup.tar /etc/named.conf /var/named/
As suggested by Bashar, To delete all the domain files.
rm -rf /var/named/*.db
To delete all the files use the command
rm -rf /var/named/*
To empty the contents of named.conf file.
1) vi /etc/named.conf
2) :1 (moves to the first line)
3) dG (deletes contents from current position to end of file.)
Check out this. Hope these commands will be helpful for you.