On 2024-06-07 14:06, Carlos E. R. via Alpine-info wrote:
On 2024-06-07 06:03, Chris M via Alpine-info wrote:
touch command doesn't work

chris@q4os-desktop:~$ touch /home/chris/maildrop/sent-mail

touch: cannot touch '/home/chris/maildrop/sent-mail': No such file or directory

chris@q4os-desktop:~$ cd /home/chris

chris@q4os-desktop:~$ touch /home/chris/maildrop/sent-mail

touch: cannot touch '/home/chris/maildrop/sent-mail': No such file or directory
chris@q4os-desktop:~$

But this is not an Alpine problem. You have problems handling the standard Linux command line.

   cd /home/chris/
   ls maildrop

If it says it is a file, you have to delete it and create a directory instread:

   rm maildir

Sorry,

  rm maildrop

   mkdir maildrop


When you get:

chris@q4os-desktop:~$ touch /home/chris/maildrop/sent-mail

 touch: cannot touch '/home/chris/maildrop/sent-mail': No such file or
 directory

It is because one element of the path does not exist. So you do:

  ls /home/chris/maildrop/sent-mail
  ls /home/chris/maildrop
  ls /home/chris
  ls /home

to find out what does exist and what doesn't. Or rather:

  ls -l /home/chris/maildrop/sent-mail
  ls -l /home/chris/maildrop
  ls -l /home/chris
  ls -l /home




--
Cheers / Saludos,

                Carlos E. R.
                (from 15.5 x86_64 at Telcontar)

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Alpine-info mailing list
Alpine-info@u.washington.edu
http://mailman12.u.washington.edu/mailman/listinfo/alpine-info

Reply via email to