Re: [opensuse] bash pipe
- From: "Brian K. White" <brian@xxxxxxxxx>
- Date: Tue, 30 Sep 2008 03:06:39 -0400
----- Original Message -----
From: "drek" <drek@xxxxxxx>
To: "opensuse" <opensuse@xxxxxxxxxxxx>
Sent: Monday, September 29, 2008 9:11 AM
Subject: [opensuse] bash pipe
Hello,
In a script I want to know in which directory I am,
but I don't want to know the whole path.
echo ${PWD##*/}
--
Brian K. White brian@xxxxxxxxx http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] bash pipe
- From: drek
- [opensuse] bash pipe
- Prev by Date: Re: [opensuse] Can't install MPlayer from Pacman
- Next by Date: Re: [opensuse] 2 TB RAID5 limit
- Previous by thread: Re: [opensuse] bash pipe
- Next by thread: [opensuse] Checksum errors on suse 10/hp hardware
- Index(es):
Relevant Pages
|