![]() |
|
|
Thread Tools |
|
#11
|
|
|
Join Date: May 2003
Posts: 3,585
|
A few tips.
It's a good idea to add yourself in the /etc/sudoers file Code:
# User privilege specification root ALL=(ALL) ALL shn ALL=(ALL) ALL You can install binary RPMS with sudo command as a local user. You can also run any binary programs that require root priveleges. Just add the sudo command to it, like this: sudo ./binary-executable ---------------------------------------------------------------------------------------------- If you have many terminals open using the $PS1 variable can help you keep track of them. It also might help you prevent making mistakes as root. For example: PS1="[\[\033[1;31m\]\u\[\033[0m\]@\h \W]\$ " Add the above to your /root/.bashrc file. Every time you are logged in as root, the terminal will display "root" in red. The actual color code is "1;31" inside the PS1 variable. The 1 says make it bold, and the 31 says the color (red). Other colors are: 1;30 Black 1;32 Green 1;33 Yellow 1;34 Blue 1;35 Magenta 1;36 Cyan 1;37 White#white ------------------------------------------------------------------------------------------------- To change the default behaviour of Ctrl-Alt-Del, edit /etc/iniitab and look for ctrlaltdel The last parameter is the command to execute when you press Ctrl-Alt-Del For example, you can shutdown your machine with: ca::ctrlaltdel:/sbin/shutdown -t3 -h now ------------------------------------------------------------------------------------------------- Easy way to set a reminder for yourself, while working in the command line: ( sleep 10 && echo -e "Tea is ready\a" ) & 10 is a number of seconds to wait until the alarm, "-e" argument to echo forces it to see the "\a" sequence, which is an alarm bell. Hope I did not miss anything, if so let me know
|
|
|
| Click to Register | Registering will remove these ads. |
|
Sponsored Links
|
|
Linux Software
-
#12
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
Wow, good ones, I never even knew you could do most of those
![]() Ok another tip: If you have a "winmodem" and want it to work in linux, go to http://www.linmodems.org Another one: Turn off unneeded services too save memory, they are usually in /etc/inetd.conf and /etc/rc.d/init.d/. In most distros there is a config tool to turn these off too. BTW, I'm not sure if thats the config files or not, so if i'm wrong tell me
|
|
|
|
Linux Software
-
#13
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
Tip: There is a 'hosts' file just like there is in windows, you can do that same things you can do with the hosts file in windows. It is in /etc/hosts
|
|
|
|
Linux Software
-
#14
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
we got pinned ![]() Tip:You can use 'xkill' to kill a program quickly, just type in xkill in a run box or terminal, then click on the window of the program you want to kill Tip:Type in 'ulimit -a' in a terminal to see the limits for the user you are currently logged in as. I'll think of some more later
|
|
|
|
Linux Software
-
#16
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
|
|
|
|
Linux Software
-
#17
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
What happens when Slackware boots
How (most) others boot Review of Slackware 9.1 ![]() Customizing a 2.6 kernel Benchmark: 2.6 vs 2.4 GIMP 2.0 Preview KDE 3.2 Overview More later if you're lucky, punk
|
|
|
|
Linux Software
-
#18
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
|
|
|
|
Linux Software
-
#19
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
INSTALLING SLACKWARE 9.1 ![]() ^^Wish I had a printer that worked... ^^Someone else post some tutorials now. |
|
|
|
Linux Software
-
#20
|
|
|
Poster
![]() Join Date: Jan 2003
Posts: 906
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|