Re: text file saved in COM format..

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



q_q_anonymous@xxxxxxxxxxx wrote:

<snipped alot> ... And last post regarding Linux commands in this
newsgroup. :-)

Consider-
how many hidden files or directories do I have..
ls -l .* | wc -l
But if I want to exclude the . and .. entries. I can't from ls. So I
must subtract 2 from the result.

No you mustn't. Just adjust the parameters to not include . and .. entries:

ls -l .?*

Or just get the count:

ls -l .?* | wc -l

Cheers.



--
Linux is ready for the desktop! More ready than Windoze XP.
http://tinyurl.com/ldm9d

You just can't play games on Linux!
http://tinyurl.com/kgszl


.



Relevant Pages

  • Fast disk I/O for large files
    ... - a few million entries ... Linux attempts a lot of buffering, which slows the entire system down, ... literature, as my application is rather different: ...
    (comp.os.linux.development.system)
  • Re: Problem restoring saved artirst states on Linux (ic5033)
    ... Linux started being used which happened not to return. ... first two entries in the directory. ... change based on locale. ... We started seeing this as people started using RHEL 4.0 and Fedora Core ...
    (comp.cad.cadence)
  • Re: Under Attack!?! Please HELP!
    ... > Linux server. ... > my Apache http server, ftp server, etc.. ... > I see a lot entries similar to the last 2 entries above and suspect that ...
    (comp.security.firewalls)
  • neigh: timer & !nud_in_timer
    ... I noticed the following message in my kernel log. ... (Might be due to a race condition.) ... I'm running a UP Linux version 2.6.22.1-rt9 ... The following /proc entries might be relevant. ...
    (Linux-Kernel)
  • How to set /etc/fstab again after system has started
    ... Is it possible to add entries to the /etc/fstab and sort reinitialize ... it with new mounts after Linux has started. ...
    (comp.os.linux.misc)