LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-04-2003, 03:36 PM   #1
jrpretz
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Rep: Reputation: 0
a beautiful makefile


I'm trying to make a beautiful makefile.

I was wondering if there is anyway to get the current directory. I know pwd, but what I mean is if you're in

/home/pretz/whatever/lib

is there a shell command from which I can get just

lib

???
 
Old 06-04-2003, 05:12 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
man basename
 
Old 06-04-2003, 10:10 PM   #3
jrpretz
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up Grazie!

Grazie!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 04:57 AM
How to make the terminal much beautiful? codejungle Linux - Software 5 02-13-2005 10:43 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 01:23 PM
Beautiful artwork Kurt M. Weber General 5 02-01-2004 04:54 PM
how to make my rxvt more beautiful gexiaofei Linux - Software 11 08-01-2003 11:00 AM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration