![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Auto copy for files from folder to folder upon instant writing | Bashar | UNIX for Advanced & Expert Users | 2 | 08-21-2008 03:44 PM |
| Mutt Folder List 1.5.18-20080517 (Default branch) | iBot | Software Releases - RSS News | 0 | 05-18-2008 08:50 AM |
| Mutt Folder List 1.5.17-20080412 (Default branch) | iBot | Software Releases - RSS News | 0 | 04-14-2008 02:50 PM |
| Basic Q: getting list of all files of type within folder & subfolders | AtomicPenguin | UNIX for Dummies Questions & Answers | 1 | 07-28-2007 07:43 AM |
| Command to list samba shared folder in linux | bache_gowda | UNIX for Dummies Questions & Answers | 0 | 04-27-2005 09:05 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
trying to list everything in a folder except . and ..
I want to list everything in a directory, including dotfiles (example .file1) except for the . and .. that are in every folder.
I'm guessing it's some sort of regular expression I need. So far, I have come up with ls -a | grep [^.] That lists the .file1 file only (though I don't see why it should, as it indicate listed lines which start with . and the listings . and .. qualify for this) However, when I create a file called ... and try this, it doesn't work. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|