[blag-whereto] new little guys/.icons
Quiliro Ordóñez Baca
quiliro at congresolibre.org
Mon Feb 17 04:49:32 UTC 2014
Dear Tristan.
You are not using the correct sintax in your commands. Notice the
following comments. (I will not comment the correct ones.)
El 16/02/14 13:19, tristan escribió:
> [root at localhost ~]# mv really really-little-guys/ /usr/share/icons/
> mv: cannot stat ‘really’: No such file or directory
> mv: cannot stat ‘really-little-guys/’: No such file or directory
Here you are telling bash to move file really to directory
/usr/share/icons and to move file really-little-guys to directory
/usr/share/icons.
> [root at localhost ~]# mkdir /.icons
> mkdir: cannot create directory ‘/.icons’: File exists...........!!!!!
You probably already created that directory before.
> [root at localhost ~]# mv really-little-guys/home/linuxlibre/.icons
> mv: missing destination file operand after ‘really-little-guys/home/linuxlibre/.icons’
You are not specifying a destination directory. You specified a source
directory. But I don't think that directory
(really-little-guys/home/linuxlibre/.icons) exists inside your home
directory (~).
> [root at localhost ~]# mv really-little-guys/home/linuxlibre t- /usr/share/icons
> mv: cannot stat ‘really-little-guys/home/linuxlibre’: No such file or directory
> mv: cannot stat ‘t-’: No such file or directory
You see? really-little-guys/home/linuxlibre directory does not exist
inside you current directory (your home).
-t is not vali/home/quiliro/d!
> [root at localhost ~]# mv really-little-guys/home/linuxlibre/Télechargements t- /usr/share/icons
> mv: cannot stat ‘really-little-guys/home/linuxlibre/Télechargements’: No such file or directory
> mv: cannot stat ‘t-’: No such file or directory
Same problem.
> [root at localhost ~]# mv really-little-guys/home/linuxlibre/Téléchargements t- /usr/share/icons/
> mv: cannot stat ‘really-little-guys/home/linuxlibre/Téléchargements’: No such file or directory
> mv: cannot stat ‘t-’: No such file or directory
Same again.
> [root at localhost ~]# ls ~/really-little-guys/home/linuxlibre/Téléchargements
> ls: cannot access /root/really-little-guys/home/linuxlibre/Téléchargements: No such file or directory
Again. It does not exist!
> [root at localhost ~]# whereis really-little-guys
> really-little-guys:
That command is to search for location of commands not directories or
files. To find those, use the 'find' command.
/home/quiliro/
> [root at localhost ~]# mv /usr/share/icons
>
> mv: missing destination file operand after ‘/usr/share/icons’
> Try 'mv --help' for more information.
Move the /usr/share/icons? Why? You have not specified the destination
directory either.
> if i right click on the folder and "open terminal here"=
> [linuxlibre at localhost really-little-guys]$ mv /usr/share/icons/
> mv: missing destination file operand after ‘/usr/share/icons
You did not specify destination directory.
----
I guess I have been as persistent and lost as you are.
'ls' command will list the contents of the current directory
'ls directory_name' will tell you the contents of directory_name
'cd directory_name' will change to directory_name and make it the
current directory
'cd' will change to your home directory and make it the current directory
'pwd' will tell you what the current directory is
'mv source_directory destination_parent directory_or_new_name' will move
a directory inside another directory
If you do not want to specify the whole route to a file or directory,
you can go into the parent directory and just specify the file or
directory name.
If you are in /home/quiliro and have a file to move to
/home/quiliro/Downloads, these two commands are equivalent:
mv /home/quiliro/test0 /home/quiliro/Downloads
mv test0 Downloads/
Hope this mini-tutorial helps.
--
Saludos libres,
Quiliro Ordóñez
600 8579
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <https://lists.aktivix.org/pipermail/blag-whereto/attachments/20140216/43ad574c/attachment.pgp>
More information about the blag-whereto
mailing list