Re: dir ~

From: Kirk Strauser (kirk_at_strauser.com)
Date: 03/01/05

  • Next message: Ted Mittelstaedt: "RE: Documentation Error?"
    To: freebsd-questions@freebsd.org
    Date: Tue, 1 Mar 2005 15:18:31 -0600
    
    
    

    On Tuesday 01 March 2005 12:33, Xavier Maillard wrote:

    > My best bet on this issue is to list this by inode -i.e. ls -i
    > and then track this inode using the inum switch of the find
    > command to delete the item.

    Ouch. "rm -- fileWithWeirdName" is usually a lot easier. For example, if
    you create a file named "-", then "rm -- -" will get rid of it.

    -- 
    Kirk Strauser
    
    



  • Next message: Ted Mittelstaedt: "RE: Documentation Error?"

    Relevant Pages

    • Re: dir ~
      ... >> and then track this inode using the inum switch of the find ... The rm command uses getoptto parse its arguments, ... So, `--' only causes it to stop processing flag options, not shell ...
      (freebsd-questions)
    • Re: inode table
      ... The inode table can only be manipulated by a kernel ... and the left and right arrow keys to edit the command. ... ''; it redirects standard input. ... though one can always use 'cat', ...
      (comp.os.linux.setup)
    • Re: functional differences between cp and mv
      ... Your daemon will still be writing to the ... restart logging to grab the new inode of your newly created trace.log file. ... thus having the process continue to write entries to the old original ... When using the web based GUI admin console or the command line admin ...
      (comp.unix.admin)
    • Re: [SLE] file permissions?
      ... >allow you to remove and create files, vim successfully wrote the file. ... >the vi command will not write a file if you don't have write permissions on ... opens for writing again and writes out the contents. ... the inode number was ...
      (SuSE)
    • Re: Changing permissions of ps command
      ... Permissions are kept in the inode, ... All pathnames that are hardlinked to the same inode have the same ... That's because the code looks at what command name was used to ...
      (comp.unix.solaris)