You are not logged in.
hello
i know this is really silly question to ask but from last two hours i am try to copy a jpg file from books directory to usr/local/share/background . i tried with thunar but its showing nothing in the destination folder.also cp command in terminal gives me error as "cannot stat the source directory . any help would be appreciated. with thunar or with terminal.
source = /home/user/Books/back.jpg
destination = /usr/local/share/backgrounds/
Offline
Does it exist, it does not on my system here
[simon@ga78lmtusb3r2 ~]$ ls -lah /usr/local/share/backgrounds
ls: cannot access '/usr/local/share/backgrounds': No such file or directory
[simon@ga78lmtusb3r2 ~]$ ls -lah /usr/local/share/
total 8,0K
drwxr-xr-x 2 root root 4,0K jun 1 22:22 .
drwxr-xr-x 11 root root 4,0K feb 3 2021 ..
lrwxrwxrwx 1 root root 6 may 31 02:39 man -> ../manLast edited by SimonJ (2021-09-21 13:35:18)
Rlu: 222126
Offline
cannot stat the source directory
stat /home
stat /home/user
stat /home/user/Books
stat /home/user/Books/back.jpgChances are that there's no "/home/user" because your username isn't "user".
Offline
Does it exist, it does not on my system here
[simon@ga78lmtusb3r2 ~]$ ls -lah /usr/local/share/backgrounds ls: cannot access '/usr/local/share/backgrounds': No such file or directory [simon@ga78lmtusb3r2 ~]$ ls -lah /usr/local/share/ total 8,0K drwxr-xr-x 2 root root 4,0K jun 1 22:22 . drwxr-xr-x 11 root root 4,0K feb 3 2021 .. lrwxrwxrwx 1 root root 6 may 31 02:39 man -> ../man
it doesnt exist in already , i have created it
and when i tried with the command with -r and with the whole directory holding the file it did copy it , dont know how?
Offline
cannot stat the source directory
stat /home stat /home/user stat /home/user/Books stat /home/user/Books/back.jpgChances are that there's no "/home/user" because your username isn't "user".
actually the error was cannot stat :/home/musicarch/books/ardou.png
but after doing the command with -r with the whole directory which containing the file it get copied with sudo command as well.
doesnt know how it happen though.
Offline
thank you all for replying
Offline
Please mark your thread as solved. And for future reference, post actual commands and output all information you gave in your first posts turned out to be incorrect and misleading.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online