Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2007

    Arrow Unanswered: AIX file cannot be deleted.

    Hello Folks,

    Good day.

    I created a text file in AIX. Filename is SCPBackup.cfg with a mode of 777.
    Now I no longer need it. I used rm -f <filename> to remove it but it cannot be deleted. It returns this error.

    rm: SCPBackup.cfg: A file or directory in the path name does not exist.

    But it does exist.

    total 3
    -rwxrwxrwx 1 aaaaaaa aaaaaaaa 150 Mar 13 14:59 SCPBackup.cfg
    -rwxrwxrwx 1 aaaaaaa aaaaaaaa 808 Mar 13 19:49

    Now I have to delete it if not for aesthetics... for my peace of mind. Any other way to delete this file?

    Thanks in advance.

  2. #2
    Join Date
    May 2005
    South Africa
    Provided Answers: 1
    The file name might have other characters at the end e.g. spaces, Try
    rm -i SCPBackup.cfg*

  3. #3
    Join Date
    Mar 2007
    Cool. Thanks it worked. Many many thanks. I wonder how that extra charcter ended up there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts