Kelly Lynn Martin wrote:
>
> And even so that's just a function of how ls and the shell behave --
> there's nothing in the kernel that makes a leading dot special.
>
> The only names that are special as far as the kernel is concerned are
> '.' and '..'.
>
#include
void main(){
On Fri, 31 Dec 1999 12:13:28 +0100 (CET), Nils Philippsen
<[EMAIL PROTECTED]> said:
>Not quite. The only place where a dot is special is at the beginning
>of a filename (Unix has no such concept as filename segments) where
>it means "this file is hidden".
And even so that's just a function of h
On Thu, 30 Dec 1999, Samantha Jo Moore wrote:
> The dot "." is a very special character which is used to separate filename
> segments and cannot be associated with a "*". Thus to find all files with
> metacharacters in their names we need to issue two commands:
>
> find . -name '*\**' -prin
Most of the issues with filenames with metacharacters have been answered.
However, the question
> How do you search for files, with meta characters as their names?
still remains. You can do this with good ol' trusty find command. There's
a trick however. Let's look at the find command syntax:
On 0, Xavier Gutierrez Munoz <[EMAIL PROTECTED]> wrote:
> On Tue, 28 Dec 1999, Subba Rao wrote:
>
> >
> >I have noticied a meta character named file in the root's home directory and
>another user's
> >home directory. They were created on December 23rd. The file ownership permissions
>are
> >pe
>I guess it is time to implement the 'wastebasket' idea on linux users $HOME.
I think not - but if you want to, and know a little shell programming, you can do it
in an easy way:
either write a shell function or an alias:
alias rem='mv $HOME/.trash'
and if you want to "empty" your trash, you'
On Wed, 29 Dec 1999, you wrote:
>No, rm * (or ls * or whatever) does _not_ match .* - you have to explicitly use .* -
>at least on bash! If there is a switch/flag/whatever to make * match .*, I'd be
>curious to
>know, though.
"shopt -s dotglob" seems to work in Bash...
[EMAIL PROTE
Objection!!!
<<< Xavier Gutierrez Munoz <[EMAIL PROTECTED]> 12/29 6:40p >>>
On Tue, 28 Dec 1999, Subba Rao wrote:
>
>I have noticied a meta character named file in the root's home directory and another
>user's
>home directory. They were created on December 23rd. The file ownership permissions
On Tue, 28 Dec 1999, Subba Rao wrote:
>
>I have noticied a meta character named file in the root's home directory and another
>user's
>home directory. They were created on December 23rd. The file ownership permissions are
>perfectly normal. The dreaded meta-character is '*'.
>
>To remove this I
In article <[EMAIL PROTECTED]>, Malcolm Tredinnick wrote:
>
>One final anecdote: Kernighan and Pike in "The Practice of Programming" tell
>of how Stephen Bourne (writer of the Bourne shell, amazingly enough) created
>254 files for testing his shell's file handling capabilities: each file had a
>on
I haven't tried it, but I hear mc (midnight commander?) is good for this
type of thing.
Cindy
On Wed, 29 Dec 1999, Britta Koch wrote:
> On 29.12.99 at 14:06 Malcolm Tredinnick wrote:
>
> >A nice enough solution (you forgot to claim that you followed the advice of an
> >earlier thread about sys-
On 29.12.99 at 14:06 Malcolm Tredinnick wrote:
>A nice enough solution (you forgot to claim that you followed the advice of an
>earlier thread about sys-adminning and "did not panic" :-) ). Bad luck if you
>had a few hundred files dot-files in the directory, though, since these would
>be sorted b
> dired is ^X ^B.
Sorry to follow up on my own blatant disinformation, but the above is wrong.
dired is ^X d; ^X ^B is the buffer editor which is real similar.
I stand by the rest of it. (heh)
Jeff
[EMAIL PROTECTED] http://www.linuxchix.org
> To delete such problem files, if you use emacs, you can use the
> directory editing feature in emacs is useful (^X ^F from memory).
dired is ^X ^B. ^H m will give you a little buffer which tells you what all
the commands are, but the most interesting ones are the movement commands (^N
^P - u
On Tue, Dec 28, 1999 at 09:11:42PM -0500, Subba Rao wrote:
>
> I have noticied a meta character named file in the root's home directory and another
>user's
> home directory. They were created on December 23rd. The file ownership permissions
>are
> perfectly normal. The dreaded meta-character is
15 matches
Mail list logo