Questions about: sudo - страница 1

TL;DR: NO The first command is sudo some-command The second command is some-other-command The command sudo takes the following command and executes it with elevated privileges. The &&, however, doesn't belong to a command and is interpreted b
Question:This seems to be a chicken-egg problem. The most common task using sudo is installing and removing software. sudo apt-get purge But sudo itself can be removed
By default the sudo group is not used in Ubuntu: the user created during installation belongs to admin group, not sudo; no guide or manual I ever read advices to use the sudo group; no one feels the need to use the sudo group, because the admin group
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