Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Application Discovery Thread [formerly: app that does this?]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Mon Jun 21, 2004 3:54 am    Post subject: Reply with quote

Can't remember were I found this tip but nevertheless it's handy if you have short term memory loss from time to time like myself.
Code:

# minute (0-59),
# |     hour (0-23),
# |     |       day of the month (1-31),
# |     |       |       month of the year (1-12),
# |     |       |       |       day of the week (0-6 with 0=Sunday).
# |     |       |       |       |       commands
#frequent
*/5     *       *       *       *       fetchmail -aKv -m "user/bin/procmail -d %T" >/dev/null 2>&1
*/15    *       *       *       *       echo "The time $(date +"is %-M minutes after %-I")." >/dev/speech
Back to top
View user's profile Send private message
bandit
n00b
n00b


Joined: 28 Sep 2003
Posts: 4

PostPosted: Fri Jul 09, 2004 2:13 pm    Post subject: Reply with quote

dermot wrote:
Never sit down with a lightbulb in your back pocket.

Oh, and I've mentioned this before but always always always make sure that you mount /boot when you're tweaking your kernel. Otherwise you'll be pulling your hair out trying to figure out why your new bzImage seems to be the same as the last.


For what it's worth, what I try to get in the habit of doing is using bash's command line completion -- i.e. type:

cp /arch/i386/boot/bzImage /boot/ker<TAB>

This will complete to the existing kernel name (which you can change if necessary) if (and only if) /boot is mounted.

Al
Back to top
View user's profile Send private message
bandit
n00b
n00b


Joined: 28 Sep 2003
Posts: 4

PostPosted: Fri Jul 09, 2004 2:38 pm    Post subject: Modifying the output of df Reply with quote

This is one I quite like. On my Mandrake box (I use the same script on Gentoo, but have never checked to see what the raw output of df is like), 'df -h' produces this:

Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part7
                       14G   12G  1.7G  88% /
/dev/ide/host0/bus0/target0/lun0/part5
                       99M   15M   80M  16% /boot
/usr/local/matlab_cd/matlab_documentation_cd.iso
                      655M  655M     0 100% /mnt/matlab
/dev/ide/host0/bus0/target0/lun0/part1
                      3.9G  3.0G  841M  79% /mnt/windows
//coffee/user12$      137G  123G   15G  90% /mnt/nt_home
//coffee/pool         130G   31G   99G  24% /mnt/pool
//netpc1/grouppool     12G  7.9G  3.8G  68% /mnt/grouppool
/dev/scsi/host1/bus0/target1/lun0/part2
                       57G   32G   23G  59% /mnt/storage
/dev/scsi/host1/bus0/target1/lun0/part1
                       29G   12G   18G  39% /mnt/iso
/dev/scsi/host1/bus0/target1/lun0/part3
                       30G   18G   12G  62% /mnt/backup


I alias df to my perl script (at the bottom), which produces this (with the -h -T options):

Code:

Filesystem         |  Type     |  Size |  Used |  Avail |  Use% |  Mounted on     
--------------------------------------------------------------------------------
/dev/hda7          |  ext3     |  14G  |  12G  |  1.7G  |  88%  |  /             
/dev/hda5          |  ext2     |  99M  |  15M  |  80M   |  16%  |  /boot         
matlab.iso         |  iso9660  |  655M |  655M |  0     |  100% |  /mnt/matlab   
/dev/hda1          |  vfat     |  3.9G |  3.0G |  841M  |  79%  |  /mnt/windows   
//coffee/user12$   |  smbfs    |  137G |  123G |  15G   |  90%  |  /mnt/nt_home   
//coffee/pool      |  smbfs    |  130G |  31G  |  99G   |  24%  |  /mnt/pool     
//netpc1/grouppool |  smbfs    |  12G  |  7.9G |  3.8G  |  68%  |  /mnt/grouppool 
/dev/sdb2          |  ext3     |  57G  |  32G  |  23G   |  59%  |  /mnt/storage   
/dev/sdb1          |  vfat     |  29G  |  12G  |  18G   |  39%  |  /mnt/iso       
/dev/sdb3          |  reiserfs |  30G  |  18G  |  12G   |  62%  |  /mnt/backup   


It would need modifying a bit if you have any ISOs that you usually mount.

Code:

#!/usr/bin/perl

@array = `df -P @ARGV | sed 's/Mounted on/Mounted{on/'`;

# Get the symbolically linked device names
@scsidevices=`ls -o -h -d /dev/[hs]d?*`;
foreach $line (@scsidevices)
{
   $line =~ s#.*/dev/([^ ]*) -> (.*)$#/dev/\1---/dev/\2#;
}

# Convert long device names to short ones
foreach $line (@array)
{
   foreach $changeline (@scsidevices)
   {
      chomp($changeline);
      @parts = split(/---/, $changeline);
      $line =~ s#$parts[1]#$parts[0]#;
   }
   
   $line =~ s#/usr/local/matlab_cd/matlab_documentation_cd\.iso#matlab.iso#;
}

$donehoriz=0;

# Calculate length of longest entry in each column
foreach $line (@array)
{
   $index=0;
   @linearray = split(/  */, $line);
   #for ($index=0;$index<7;$index++)
   foreach $curentry (@linearray)
   {
      $len = length $curentry;
      if ( $maxlengths[$index] < $len )
      {
         $maxlengths[$index] = $len;
      }
      $index++;
   }
}

$totallength = 0;
foreach $length (@maxlengths)
{
   $totallength += $length + 3;
}

$totallength++;
$totallength++;

foreach $line (@array)
{
   $index=0;
   @linearray = split(/  */, $line);
   foreach $curentry (@linearray)
   {
      # Get length of entry
      $entrylen = length $curentry;

      # Get maxlength for current column
      $maxlen = $maxlengths[$index];

      # Increment for column spacing
      $maxlen++;

      # Check whether it's the last in the line
      $checklast = $curentry;
      $checklast =~ s/.*\n/yes/;

      $curentry =~ s/\n//;

      while (length $curentry < $maxlen)
      {
         $curentry = $curentry . " ";
      }
      
      if ($checklast ne "yes")
      {
         $curentry = $curentry . "| ";
      }
      $curentry =~ s/{/ /;
      #$linearray[$index] = $curentry;
      $index++;


   }
   print "@linearray\n";
   if (!$donehoriz)
   {
      for ($horizind=0;$horizind < $totallength; $horizind++)
      {
         print "-";
      }
      print "\n";
      $donehoriz = 1;
   }

}


Hope that's of interest to someone.

It's worth noting that the xterm window that I always use is 153 characters wide, so I've no idea how this would look on a narrower terminal.
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Fri Jul 09, 2004 3:27 pm    Post subject: Reply with quote

my df -h looks like
Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hdb2              15G  3.1G   11G  22% /
/dev/hdb3             7.4G  786M  6.7G  23% /home
/dev/hda7              20G 16.6G  3.5G  83% /mp3
/dev/hda8              20G  7.2G 12.9G  36% /mnt/Storage
none                  252M     0  252M   0% /dev/shm

df --version
df (coreutils) 5.2.1
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
apc_james
n00b
n00b


Joined: 23 Mar 2004
Posts: 2

PostPosted: Fri Jul 09, 2004 11:35 pm    Post subject: Cheap VPN Reply with quote

Read this tip some years ago:

Why buy expensive vpn solutions when you just can do:

/usr/sbin/pppd noauth pty "ssh pppuser@server '/usr/sbin/pppd notty noauth 192.168.0.1:192.168.0.2'" 192.168.0.2:192.168.0.1

You might need a defaultroute option or a route add command and perhaps another unused ip range.

HAND, James
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Mon Jul 12, 2004 10:15 pm    Post subject: Reply with quote

Some pages back, someone suggested using "cp -iv" to see the progress of a cp.

However, if I'm copying or moving [large] files, I find that I will often do this to monitor the progress:

Terminal 1
Code:
cp files location/


Then, I either open another aterm/xterm or use Alt+Ctrl+Fn if I'm in the conosle and do:
Terminal 2
Code:
cd location/
watch -n 1 ls -l


Of course, it won't be useful if you don't know the size of the files you are copying... but if you do (which you probably should), due to the way that cp/mv copies/moves the files (incrementally), you will see the files grow in size with ls -l and watch. This way, you can tell when it's almost done, because you will see how big the file has gotten.

Also, this works great with df. Say, if you are copying all the files from a disk /drive to another disk/drive, use that to see the progress as well.

The watch command is really great when you want to watch a command.
_________________
rcxAsh
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Tue Jul 13, 2004 1:59 pm    Post subject: Reply with quote

Watch is indeed incredibly useful. However, for this specific purpose, I prefer cp -g (not documented in manpage!)
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Tue Jul 13, 2004 4:19 pm    Post subject: Reply with quote

Whao!!! Thanks for that tip, tactless! That's so much easier!
_________________
rcxAsh
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Tue Jul 13, 2004 9:25 pm    Post subject: Reply with quote

I'm pretty sure it was in the GWN Tips/Tricks, but you're welcome :)

Here's a bit of an obscure tip for me:
Ever get text in the wrong encoding? This happens a lot with gaim, when you get offline messages. Here's one way to convert:
Open gvim, set encoding to utf8. Paste the text. Then set fileencoding (fenc) to the encoding it should be in. Save the file, and set the encoding to what you've just set the fileencoding to, and load the file you've saved.

Here's another, more useful one:
I manage my passwords in a plaintext file on my computer. The catch is that it's encrypted with gpg. To easily edit, I use the gnupg vim plugin (available at vim.org).
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
qzec
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2004
Posts: 89

PostPosted: Wed Aug 18, 2004 1:07 am    Post subject: Reply with quote

Probaly useless but since nobody posted it...

Code:
updatedb


This command will update your system locate database.

**This thread was pretty useful... Thanks everybody. :)

Q
Back to top
View user's profile Send private message
antisthenes
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2003
Posts: 89

PostPosted: Wed Aug 18, 2004 7:14 am    Post subject: Reply with quote

My system is lame and thus emerges segfault occasionally. Here's what I do:

Code:
#!/bin/bash
# tryagain: ebuild command shortcut
# usage: tryagain {package name} [path to ebuild]

if [[ $# -eq 2 ]]
 then
  name=$2
 else
  name=$(equery which $1)
fi


ebuild $name compile install qmerge

while [[ $? -ne 0 ]]
 do ebuild $name compile install qmerge
done


It's crappy, but if you want something to actually compile, it has proved invaluable...OOo, anyone?

(what this does is it continues the emerge without deleting/recreating the WORKDIR..of course, if the failure is caused by things other than hardware, you just get an infinite loop)
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Thu Aug 19, 2004 12:14 pm    Post subject: Reply with quote

tactless wrote:
Here's another, more useful one:
I manage my passwords in a plaintext file on my computer. The catch is that it's encrypted with gpg. To easily edit, I use the gnupg vim plugin (available at vim.org).


That's pretty cool, it never occured to me to do it that way, nice too if you're working solely in the console.

For X I've been using an app called MyPasswordSafe that is open source and (i believe) gpl'ed. (I noticed the site wasn't loading this AM, probably doing some maintenance) It has a nice interface for storing passwords, easily copies them to your clipboard, and stores them in a blowfish encrypted .dat file that you can x-fer from machine to machine.

You can also x-fer the .dat to a Windows box running the Windows equivalent of this app, called: passwordsafe
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Fri Sep 03, 2004 12:40 pm    Post subject: Reply with quote

my all time favorite tips are:

https://forums.gentoo.org/viewtopic.php?t=218156
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
vinayg
n00b
n00b


Joined: 06 Nov 2003
Posts: 64
Location: IIT Kanpur, India

PostPosted: Mon Sep 06, 2004 10:41 pm    Post subject: Reply with quote

the best tip anyone gave me....

install gentoo && forums.gentoo.org :wink:

thanks guys.....amazing thread......learnt loads...

ciao
Back to top
View user's profile Send private message
roothorick
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 83
Location: Menasha, WI

PostPosted: Thu Sep 09, 2004 2:58 am    Post subject: Reply with quote

Need to update the kernel on your production server but you don't want to reboot during peak times? No problem!

Code:
# cat << EOF > /etc/cron.daily/reboot
> #!/bin/bash
> reboot
> rm /etc/cron.daily/reboot
> EOF


Install kernel, modules, and walk away. Just, be absolutely sure the computer will at least come back up properly. Either that, or have another computer call you if it doesn't come back up (what other purpose did you think modems serve in a corporate setting? :P )
_________________
Note: This user has been arrested under the DMCA for copyright infringement based on a complaint from The Inernational Cliche Company. He is also facing charges for violating US patents describing the encoding of text in digital form.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Sat Oct 02, 2004 10:31 am    Post subject: Reply with quote

When trying to restore system with Stage 4 (backup): "Always make sure that you don't format that harddrive where your Stage 4 is located" :oops: :D
Back to top
View user's profile Send private message
Satyrinox
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 110
Location: New Mexico

PostPosted: Mon Oct 04, 2004 1:34 am    Post subject: Reply with quote

here is something i use to check on my system from time to time , the output looks like this
Quote:

Gh0st_in_the_B0x
--------------------------------------------
SysInfo: Linux 2.6.8-gentoo-r3 | AMD Athlon(tm) Processor 698.798 MHz
Mem: 237 used / 248 total / 10 Free [|||||||||*]
Diskspace: Filesystem Type Size Used Avail Use% Mounted on
/dev/hda3 reiserfs 12G 6.6G 4.6G 60% /
/dev/hda4 reiserfs 17G 15G 1.4G 92% /home
/dev/hdb1 reiserfs 19G 81M 19G 1% /maldrive
none tmpfs 125M 0 125M 0% /dev/shm
Screen Res: 1280x1024 | Procs: 68
Up: 18:09:40 up 1 day, 1:20, 3 users, load average: 3.38, 1.63, 0.83
eth0: In: 666 Megs Out: 37 Megs
--------------------------------------------

im proud of some of my first bash scripts to last this long and see them grow into a nice looking script like so
Code:
#!/bin/bash
dev="eth0"
uname=`uname -sr`
model=`cat /proc/cpuinfo | grep '^model name' | head -n 1 | sed -e 's/^.*: //'`
num=`cat /proc/cpuinfo | grep "model name" | wc -l | sed 's/ *//'`;
cpu=`cat /proc/cpuinfo | grep 'cpu MHz' | head -n 1 | sed -e 's/^.*: //'`;
procs=`ps ax | wc -l | awk '{print \$1 - 5}'`
uptime=`uptime | awk '{ print }'`
res=`xdpyinfo | grep dimensions | awk '{print \$2}'`
mips=`cat /proc/cpuinfo | grep '^bogomips' | awk '{ sum+=\$3 }'`
let packin=(`cat /proc/net/dev | grep $dev | awk -F: '/:/ {print \$2}'| awk '{printf \$1}'`/1024)/1024
let packout=(`cat /proc/net/dev | grep $dev | awk -F: '/:/ {print \$2}' | awk '{print \$9}'`/1024)/1024
memused=`free -m |grep Mem | awk '{print $3}' | head -n 1`
memfree=`free -m |grep Mem |awk '{print $4}'`
memtotal=`free -m |grep Mem |awk '{print $2}'`
mempercent=`free | grep Mem | awk '{print (( \$3 -(\$6 + \$7))/\$2)*100}'`
total=`df -h |egrep "(/)" |awk '{print $2}'`
used=`df -h |egrep "(/)" |awk '{print $3}'`
left=`df -h |egrep "(/)" | awk '{print $4}'`
ds=`df -Th`

AVAIL=100;
USED=100;

let ONE=$AVAIL/100;
LESS=1;
let CUR=$USED/$ONE;

METER="["
for i in `seq 0 9`;
do
        let C=$i*10;
        if [ $C  -lt $CUR ]
        then
                if [ $i -eq 9 ]
                then
                        METER="$METER*"
                else
                        METER="$METER|"
                fi
        else
                if [ $LESS -eq 1 ]
                then
                        METER="$METER*"
                        LESS=0;
                else
                        METER="$METER|"
                fi
        fi
done;
METER="$METER]"


uname -n
echo "--------------------------------------------"
echo "SysInfo: $uname | $model $cpu MHz"
echo "Mem: $memused used / $memtotal total / $memfree Free  $METER"
echo "Diskspace: $ds"
echo "Screen Res: $res | Procs: $procs"
echo "Up: $uptime"
#echo "Cpu Temp: $TEMP Fan rpms: $FAN"
echo "$dev: In: $packin Megs Out: $packout Megs"
echo "--------------------------------------------"



:mrgreen:
_________________
[Powered By Gentoo Linux
AMD Athlon 2000+
756 Megs ddr2100 OC-Systems RAM
NVIDIA Geforce FX 5200
Leadtek Mobo]
<same config for 2 years now ;-) >
Back to top
View user's profile Send private message
SimonKellett
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 88
Location: Darmstadt, Germany

PostPosted: Thu Oct 07, 2004 11:14 am    Post subject: Reply with quote

jmusits wrote:
You can override the -i option from rm on the command line with:
Code:
rm -f


or
Code:
\rm

Simon
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Tue Dec 07, 2004 11:00 am    Post subject: Reply with quote

a simple alias that's highly addictive:

Code:
alias ..='cd .. && ls'


other than that, the best tip i have is:

Code:
emerge bash-completion
emerge bash-completion-config
Back to top
View user's profile Send private message
Agilo
n00b
n00b


Joined: 01 Jan 2004
Posts: 38
Location: The Netherlands

PostPosted: Tue Dec 07, 2004 6:19 pm    Post subject: Reply with quote

Wi1d wrote:
Can't remember were I found this tip but nevertheless it's handy if you have short term memory loss from time to time like myself.
Code:

# minute (0-59),
# |     hour (0-23),
# |     |       day of the month (1-31),
# |     |       |       month of the year (1-12),
# |     |       |       |       day of the week (0-6 with 0=Sunday).
# |     |       |       |       |       commands
#frequent
*/5     *       *       *       *       fetchmail -aKv -m "user/bin/procmail -d %T" >/dev/null 2>&1
*/15    *       *       *       *       echo "The time $(date +"is %-M minutes after %-I")." >/dev/speech



That would be UGU (Unix Guru Universe):
http://www.ugu.com/sui/ugu/show?I=tip.2145

You may want to bookmark or subscribe to get a handy-dandy tip daily. :)


As for my submission to this thread:
VIM tips (place in ~/.vimrc):

For a quick auto-replacement for text (teh-to-the, taht-to-that, etc):
Code:
abb taht that
abb teh the
abb liek like


For line-numbers (toggle) (just press CTRL+N once you have this in your ~/.vimrc):
Code:
map <C-N> :set invnumber <CR>


To stop auto-indenting and to stop wrapping of text:
Code:
set noai
set nowrap


When you open multiple files with VIM (vi foo bar kernel.c yomommajokes.txt) and you would like to switch rapidly between them, you can map the comma and dot keys to go to :next and :previous:
Code:
map . :next <CR>
map , :previous <CR>

_________________
- Agilo (Alessandro Lo-Presti)
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Wed Dec 08, 2004 4:40 pm    Post subject: Reply with quote

Agilo wrote:
For line-numbers (toggle) (just press CTRL+N once you have this in your ~/.vimrc):
Code:
map <C-N> :set invnumber <CR>



This is cool. ;) Thanks

I am quite new to Vim and I look always forward to new things.
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
Agilo
n00b
n00b


Joined: 01 Jan 2004
Posts: 38
Location: The Netherlands

PostPosted: Tue Dec 14, 2004 4:04 pm    Post subject: Reply with quote

Another VIM thing which is handy to know:
When viewing a largte file, you can go to the absolute end by pressing "G" (capital-G -- don't be in insert/replace mode.)
You can get back to the beginning by doing ":0" (that is; colon, zero. -- again, don't be in insert/replace mode.)
You can go to any other line using ":number", too.
_________________
- Agilo (Alessandro Lo-Presti)
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Tue Dec 14, 2004 5:30 pm    Post subject: Reply with quote

Agilo wrote:
Another VIM thing which is handy to know:
When viewing a largte file, you can go to the absolute end by pressing "G" (capital-G -- don't be in insert/replace mode.)
You can get back to the beginning by doing ":0" (that is; colon, zero. -- again, don't be in insert/replace mode.)
You can go to any other line using ":number", too.


You can also use gg to go to the begining of the file. ;)
but I did not know that :linenumber works, too. thanks ;)
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
DangerDan
n00b
n00b


Joined: 24 Dec 2004
Posts: 11

PostPosted: Fri Dec 24, 2004 4:10 am    Post subject: Reply with quote

One of my favorites is !$. It transfers the argument from your last command to you next command.

So, you're groping around, looking for that file, using command line completion. Ah! Found it after several tries;

ls /usr/src/linux/README

now you want to read it.

instead of retyping the path/filename, or cut and paste, just;

less !$

result:

less /usr/src/linux/README

The height of laziness!
Back to top
View user's profile Send private message
TwoSlick
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 114
Location: Rolla, MO

PostPosted: Fri Jan 07, 2005 8:50 pm    Post subject: Reply with quote

DangerDan wrote:
instead of retyping the path/filename, or cut and paste, just;

less !$

result:

less /usr/src/linux/README

Or, you could type (using bash):
Code:
less ESC _   (Escape underscore => not at the same time)


TwoSlick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 15, 16, 17  Next
Page 8 of 17

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum