Oracle Linux/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
Line 19: | Line 19: | ||
... | ... | ||
user ALL=(ALL) ALL | user ALL=(ALL) ALL | ||
+ | ==determine packages installed & search== | ||
+ | ~$ rpm -qa | less | grep term |
Revision as of 10:31, 28 April 2014
yum
update repo cache (agt-get update equivalent)
~$ yum check-update
update all packages
~$ yum update
install software
~$ yum install lynx
search for software
~$ yum search apache
remove software
~$ yum remove lynx
Add user & add to sudoers
add user
~$ useradd user
set password for user
~$ passwd user
add to sudoers
~$ visudo ... user ALL=(ALL) ALL
determine packages installed & search
~$ rpm -qa | less | grep term