commands

Add sudoer User to the sudoers file

Open terminal and type:
*This must be done from the root account or an account that already has sudo abilities.

Copy a file from one directory to another and rename it in linux

Copy a file from one directory to another and rename it in linux

Syntax:
{syntaxhighlighter brush:bash;}

Move the contents of a directory from one directory to another in linux

Move the contents of a directory from one directory to another in linux

Syntax:
{syntaxhighlighter brush:bash;}
mv /home/USERNAME/public_html/old/foo/* /home/USERNAME/public_html/new/bar

Remove a directory and all of its contents without confirmation in linux

To remove a directory and all of its contents without a yes/no prompt confirmationon each delete on a linux server. Use sudo if you need to

Syndicate content