Questions about: sudo

Question:I want to copy a directory from one place to another folder. sudo cp is the command, but after that what should I type? The destination or source first? Solution:1The -a flag is probably what you are looking for: cp -a /path/from /path/to Th
There are two parts to the answer: !! and sudo !! is part of the functionality of the shell (in the case of Ubuntu this is probably bash, but other shells like zsh or csh support this, too) called "history expansion". It behaves in a similar way as o
Graphical applications often store settings and other user-specific data in configuration files written inside the user's home folder. The main mechanism applications use to determine what they should use as the user's home folder is the HOME environ
Polkit (formerly PolicyKit) is a component for controlling system-wide privileges in Unix-like operating systems. It provides an organized way for non-privileged processes to communicate with privileged ones. Polkit allows a level of control of centr
---January 13, 2005 You mignt want to have a look at what "Tidy for FreeBSD" has done to the title of the page, though, 'cos it don't look too tidy, to me! ---January 28, 2005 My fault. . been doing a lot of cleaning up with tidy, but apparently a li
suswitch user -- with no args provided, it switches (or attempts to switch) to root. Password authentication is required, unless you are already root. Examples:$ su # switches to root (requires root password)$ su bob # switches to bob (requires bob's
Add the following line to your ~/. bashrc: alias sudo='sudo ' From the bash manual: Aliases allow a string to be substituted for a word when it is used as the first word of a simple command. The shell maintains a list of aliases that may be set and u
Vietnamese Thai Indonesian Chinese English French Spanish Portuguese Login Register /index. php?option=com_communityanswers&view=questions&Itemid=344&task=questions. search&format=json what is the difference between Security and Safet
You need to add the user to the sudo group (which is the “administrators” group in Ubuntu). If you have already created the user, you can add the user to the sudo group by running the following command in a Terminal. sudo usermod -a -G sudo hduser In