mv file /path/to/directory
ls
rm -rv /path/to/directory
/var/log
In Linux: ls In Windows: dir
rm -rf <path to directory>
To remove a directory that is full with other files or directories, use the below command. rm -rf directory
Assuming the directory is in your Home directory use: rmdir directory-name This will fail if there are files within the directory. In this case, use rm -r directory-name.
On a Linux system, log files are commonly stored in the /var/log directory. This directory contains various log files generated by the system and applications, such as system messages, service logs, and application logs. Additionally, spool files, which are temporary files waiting to be processed, can often be found in subdirectories under /var, such as /var/spool.
Assuming to and do are valid files and the directory done exists, it will place a copy of to and do in the done directory.
System-wide configuration files are usually found in /etc. Personalized configuration files are stored in the user's home directory, in files and subdirectories preceded by a "." in their name.
In my opinion, the most commonly used Linux commands are: ls - list files and folders in a directory CD - change directory mkdir - make a directory cp - copy mv - move/rename rm - remove man - manual pages find - um, find Having a good command of all of these and you should be able to navigate around in the command line comfortably.
There is no specific directory on which you have to access NFS shares. You can mount a specific NFS share as root, or a subdirectory therein, such as /home.