LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2013, 04:08 PM   #16
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142

Quote:
Originally Posted by vash_uk View Post
Why is pwd unnecessary?
Because "." does the same thing and is faster, less complicated, and again, will still work if your current directory has spaces in the name or path.

Quote:
Originally Posted by vash_uk View Post
if you try to rm a directory you will get an error message and the directory won't be deleted.
So it's going to litter the terminal with "cannot remove" errors, a bit ugly isn't it? And what about the files that don't have dots in the names?

Quote:
Originally Posted by vash_uk View Post
Who uses file names with spaces or bad characters?
A lot of people...

Quote:
Originally Posted by vash_uk View Post
I posted a reply because there was no "one liner"
Post #5

Last edited by suicidaleggroll; 05-30-2013 at 04:12 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy an entire directory structure except certain files? thanhvn Programming 9 01-27-2012 11:41 AM
Directory Structure fedix Linux - Newbie 3 10-14-2005 02:48 PM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
HELP! installing 9.0 from HD, what files do i transfer in what directory structure? diabolik808 Red Hat 1 01-30-2005 03:47 PM
Program files and directory structure Carel Linux - Newbie 5 04-11-2001 10:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:32 PM.

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
Open Source Consulting | Domain Registration