Insert tip here <------ - Page 3


Page 3 of 22 FirstFirst 123456713 ... LastLast
Results 31 to 45 of 318

Thread: Insert tip here <------

  1. #31
    Join Date
    May 2002
    Location
    Philippines
    Posts
    1,377

    screen capture command

    import myscreenshot.jpeg

    then use your mouse to create a margin of the area you want to take a sc. shot.
    "SEARCH FIRST... ASK SECOND" -mdwatts-

  2. #32
    Join Date
    Aug 2002
    Location
    Delaware
    Posts
    4,285
    xmms-shell

    /etc/init.d/xdm stop to actually kill your x display manager (change it around so you are going to the right directory.)

    for virutal consoles, sometimes you need to hold alt in the switch.

    mp32ogg is fun
    irc.freenode.net #justlinux The Not So Official JL IRC Channel.
    ¤ Debian ¤ Apt-Get ¤

  3. #33
    Join Date
    Sep 2000
    Location
    N California
    Posts
    951
    the command script

    If your trying to get compile a program and get errors and the errors fly by so you can't capture them.

    If you want to create a document of some task that your doing at the command line try script

    script will start an interactive session and create a transcript of the entire session when you exit. The output will be written to a file named typescript

    man script

    very cool

  4. #34
    Join Date
    Nov 2002
    Posts
    27
    someone mentioned customizing your bash prompt. i second that! you can make it way more useful! here's a really good how-to
    http://www-106.ibm.com/developerwork.../l-tip-prompt/

  5. #35
    Join Date
    Sep 2002
    Location
    /dev/null
    Posts
    55

    The world into your scripts !!

    Code:
    for i in `lynx -dump  http://www.ugu.com/sui/ugu/show?tip.today|tee .ugutemp| grep -n "NOTE:" |cut -d: -f1`
      do head -$i .ugutemp  
    done| grep -v "\[" | grep -v "NOTE:"
    Take note how to use lynx to dump text into a file;



    The world into your scripts........
    Last edited by rbermejo; 11-14-2002 at 09:49 PM.
    A man without religion is like a fish without
    bicycle.
    -r.

  6. #36
    Join Date
    Oct 2002
    Location
    Here, there, now, then
    Posts
    587
    Originally posted by slapNUT
    alias path='echo -e ${PATH//:/\\n}'

    Put that in .bashrc for a really way to display your path.

    Just edited your .bashrc and want to check out your fancy new alias or a new prompt? Don't logout and login! Just do this to immediately update your user settings:
    . ~/.bashrc
    Also works if you edit .bash_profile
    . ~/.bash_profile
    also:
    source ~/.bashrc
    works
    Hug a geek, save a life...

  7. #37
    Join Date
    Oct 2002
    Location
    MD
    Posts
    234
    ctrl-alt-backspace to restart X
    The greatest trick the devil ever pulled was convincing the world he didn't exist.

  8. #38
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Well, ctrl-alt-backspace will kill X, not restart it. If your distro sets up inittab the right way, then X can be set up to restart whenever it dies, so if that's what's going on, then ctrl-alt-backspace will indeed restart X. But if not, if you're in runlevel 3 for example, then ctrl-alt-backspace won't restart anything, just kill the X that's already running.


  9. #39
    Join Date
    Jul 2000
    Location
    Recycle Bin
    Posts
    2,923
    Has anyone posted this goodie yet? It's my favorite!
    finger @kernel.org

  10. #40
    Join Date
    Apr 2002
    Location
    England, London
    Posts
    1,141
    Originally posted by slapNUT
    Has anyone posted this goodie yet? It's my favorite!
    finger @kernel.org
    Please explain. What does finger do?
    My new Much Improved, Long waited, Website: http://www.mooktakim.freeserve.co.uk

    My latest screen shot. Visit my My Server.

    Registered Linux user #270049
    -----------------------------------------------------
    ** AMD Athlon XP 2001+, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler CNPS6000-CU, 3x 80mm Fans, ADSL Router, **
    -----------------------------------------------------

  11. #41
    Join Date
    May 2002
    Location
    Philippines
    Posts
    1,377
    I've tried it and printed some kernel versions, pretty cool ... me thinks it's some kind of user query thing on a network.

    man finger
    "SEARCH FIRST... ASK SECOND" -mdwatts-

  12. #42
    Join Date
    Nov 2002
    Location
    baltimore,md
    Posts
    2
    If you want to cut off all ICMP ECHO requests you don't need to mess with iptables or anything,
    Just ;
    issue the following,

    #echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

    All ICMP echo packages are ignored from now on.

    You have to issue this command everytime your kernel is rebooted, putting this line into /etc/rc.local (might be other file if it's not RH) file will automaticly make it start everytime the machine is rebooted.

  13. #43
    Dun'kalis Guest
    Append text to the end of a file:

    cat >> filename

    The Most Quoted Pipe In The World:

    who | wc -l

    tells you how many users are logged in.

    wc is an awesome tool, especially in combination with sed.

    I'm gonna hope this command works:

    cat filename | sed -e 's/word//' | wc -w

    This *should* remove all instances of 'word' and then count the number of words left. Its actually quite useful.

    This is where sed is awesome. I do this to keep an original around:

    cp filename.py filename.py.backup
    sed -e 's/idmp3/id3read/' \ filename.py.backup > filename.py

    regexps are your friend. Learn them.

    I haven't had access to a Linux box in a while, so...

  14. #44
    Join Date
    Oct 2002
    Location
    Here, there, now, then
    Posts
    587
    To write a *new* file (it will overwrite files beware!) do:

    cat > filename


    Then type what you want in there. Then when you're done press CTRL+D and there you go!
    Hug a geek, save a life...

  15. #45
    Join Date
    Feb 2002
    Location
    Australia
    Posts
    53

    Sheltons Tips for newbies (from a newbie)

    Hi

    Here is a small list from a newbie to new newbies:

    1. use ALT and F2 (together) to quickly run an application eg ALT F2 and enter Kmail into prompt will bring up KMail.

    2. Cntrl and Escape to look at all your process running and sleeping (very handy)

    3. When copying text, just highlight with the mouse over text and point to required place to paste then press the center button on mouse (too easy! and handy!)

    4. Always place your new applications you install in the /usr/local/bin directory

    5. The gear icon represents your .exe files in Linux and most can be found in
    /usr/bin
    and
    /usr/sbin

    Any others have any nice tips or would like to comment on these, please do so!

    Cheers,
    Shelton.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •