Caleb Cushing's Blog Also known as XenoTerraCide
Posts with the tag commands:

Adding and Deleting subdomains with Plesk on the Command Line

Plesk has the disadvantage that everything is done through thedatabase. So we can’t just modify Bind’s Zone files.To add an A record of a subdomain you have to do the following:/usr/local/psa/bin/dns -a domain.tld -a subdomain -ip first -a is for add to zone which is why it must specify the toplevel domen, the second is for A record, and must not contain the fulldomain only the subdomain. If you use the full domainsubdomain.

Adding a new group to an open shell without logging in and out

Most Unix users believe it’s impossible to add a group that was recently added to your user account without logging in and logging out. If you’re running X and need to give your gui new permissions (like dolphin/konqueoror) this may be true, for the most part. I don’t know how to change it for those processes. However, if you need to change it for a shell prompt it’s easy. You merely execute the command newgrp <newgroupname> in an open shell prompt and that prompt will now be loaded with the new group.