Home | Forum | MAN Pages | Tutorials | Directory | HOWTOs | About Me | Contact
 
FAQS
» Advanced Routing & Traffic Control
» General FAQ
» Squid Proxy Server
» Sendmail
» Fetchmail
» Postfix
» Connecting Mobile Phone
» Paging from Linux
» Standard Commands
» Some common terms
Linux HOWTOs
- Single List of HOWTOs
- Accessibility-Dev-HOWTO
- Beowulf-HOWTO
- Cipe+Masq
- FBB
- ISP Connectivity
- Home Electrical Control
- IPMasquerading+Napster
- Linksys-Blue-Box-Router-HOWTO
- Linux+WinNT
- MP3-HOWTO
- PCMCIA-HOWTO
- Process-Accounting
- RedHat-CD-HOWTO
- SMB-HOWTO
- TclTk-HOWTO
- TT-XFree86
- VoIP-HOWTO
- Wireless-Link-sys-WPC11
- XFree86-Video-Timings-HOWTO
- ADSL Bandwidth Management
- Compile Apache
- Make a Bootdisk
- Linux-Windows9x-Grub
- Linux-Windows
- Linux Crash Recovery
- Optimise Squid
- Block websites in Squid
- Broadcast webcam in linux
- Compile RedHat Linux kernel
- Implement Firewall Security
- Increase Harddrive Performance
- Mount NTFS filesystem
- Patch / rebuild SRPM
- Secure Linux
- Set up a DHCP Server
- Set up an FTP server
- Set up Linux as a Router
- Use Cron
- Samba
Miscellaneous
» All Ports
» Spammers fetch email addresses
» Mounting NTFS in linux
» Linux Gazette
» Linux Man Pages
» Linux Directory
Linux Man Pages
- Section 1
- Section 2
- Section 3
- Section 4
- Section 5
- Section 6
- Section 7
- Section 8
Linux Directory
- General Information
- Linux Hardware
- Software / Applications
- Web Technology
- Software Development
- Linux Distributions
- Linux Publications
- Linux Beginners

linux,man,pages,linux man pages,squid,ntfs,mount
 

Name

dirname — strip non-directory suffix from file name

Synopsis

dirname NAME

dirname OPTION

DESCRIPTION

Print NAME with its trailing /component removed; if NAME contains no /'s, output `.' (meaning the current directory).

−−help

display this help and exit

−−version

output version information and exit

EXAMPLES

dirname /usr/bin/sort

Output "/usr/bin".

dirname stdio.h

Output ".".

AUTHOR

Written by David MacKenzie and Jim Meyering.

REPORTING BUGS

Report bugs to <bug−coreutils@gnu.org>.

SEE ALSO

basename(1), readlink(1)

The full documentation for dirname is maintained as a Texinfo manual. If the info and dirname programs are properly installed at your site, the command

info dirname

should give you access to the complete manual.

COPYRIGHT

Copyright © 2007 Free Software Foundation, Inc.

This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.

 
Random Linux Commands
Shell
The command-line user interface. Various shells are available under Linux, the most popular of which is Bash. Shells create an environment for you to work in, and do this by providing shortcuts, scripting facilities and customized prompts.

Common Linux terms
Linux-FAQs Forum Categories
» About Forum
» Hardware Troubleshooting in Linux
» Linux Entertainment
» Resources
» Software toubleshooting and configuration
All Linux-FAQs Forums
» Crash Recovery
» FAQs
» Forum Talk
» Games
» General
» Linux Audio Support
» Linux Hardware / Driver
» Linux Installation Support
» Linux misc.
» Linux Networking
» Linux Newbies
» Linux Printing Support
» Linux Security
» Linux Video Support
» Mail Server
» Multimedia
» Tutorials
» Web Proxy Server
» Web Server

linux,man,man pages,faqs,howtos,forum
 
Powered by HTML
Linux-faqs.com Copyright, All rights reserved www.linux-faqs.com. Peeyush Maurya.