Your Ad Here Your Ad Here
Arcade NZBs WTO Guides Forums Home
Welcome to FileSharing Talk.  ( Register | Log in )
SuperNews Special   SeedPlace Special

   

Reply
 
Thread Tools
shn
  #11 Old 02-26-2004, 09:55 PM
 
shn's Avatar
Ð3ƒμ|\|(7
 
Join Date: May 2003
Posts: 3,585
jamaica
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
Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password for a short period of time (5 minutes by default).

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
Reply With Quote shn is offline  
Click to Register Registering will remove these ads.
Click to Register
Sponsored Links

Your Ad Here Giganews Newsgroups Your Ad Here

Your Ad Here Unlimited Usenet
Your Ad Here

Your Ad Here RapidPeer.com Managed Seedbox Services Your Ad Here
LSA
  Linux Software   -   #12 Old 02-26-2004, 10:09 PM
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
Reply With Quote LSA is offline  
LSA
  Linux Software   -   #13 Old 02-27-2004, 12:33 AM
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
Reply With Quote LSA is offline  
LSA
  Linux Software   -   #14 Old 02-28-2004, 05:08 PM
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
Reply With Quote LSA is offline  
LSA
  Linux Software   -   #17 Old 03-02-2004, 12:03 AM
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
Reply With Quote LSA is offline  
LSA
  Linux Software   -   #19 Old 03-03-2004, 12:46 AM
Poster
 
Join Date: Jan 2003
Posts: 906
INSTALLING SLACKWARE 9.1

^^Wish I had a printer that worked...^^


Someone else post some tutorials now.
Reply With Quote LSA is offline  
LSA
  Linux Software   -   #20 Old 03-08-2004, 01:22 AM
Poster
 
Join Date: Jan 2003
Posts: 906
Does anyone come here anymore?

Configuring XFree86 in Slackware
Compiling a Custom Kernel

Reply With Quote LSA is offline  

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Your Ad Here Great Deals At NewEgg.com Your Ad Here

The time now is 08:25 PM

Page Generation Time0.13sec    Query Count9 queries Talkgold - Sexy Pictures - Money E-Books - Onlive Forum - Wallpapers for Zunes
Contact Us - FileSharing Talk - Archive - Disclaimer - Top

Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
FileSharingTalk.com - All Rights Reserved