Thread
:
Ctrl+Shift+x
View Single Post
matthew maude
2010-10-08 , 19:11
Posts: 166 | Thanked: 30 times | Joined on Apr 2010 @ Halifax, UK
#
9
yea it means that pressing t then enter you get a new window
you can use these for everything tho e.g.
ud for apt-get update
ug for apt-get upgrade -y
ai for apt-get install -y
ls for ls -a
u for cd ..
and so on...
to add them all it goes like this
alias r='root' sr='sudo gainroot' ls='ls -a'
just keep going in that format, and be aware that alias saved in .profile won't work as root so don't put the apt-get ones there.
anything that needs to be root needs to go into /root/.profile or /root/.bashrc
make sure you don't overwrite those files tho
if you use 'sudo gainroot' none of them will work so its best sticking to 'root'
Quote & Reply
|
The Following User Says Thank You to matthew maude For This Useful Post:
Mentalist Traceur
matthew maude
View Public Profile
Send a private message to matthew maude
Find all posts by matthew maude