ls
In Linux: ls In Windows: dir
rm -rv /path/to/directory
To remove a directory that is full with other files or directories, use the below command. rm -rf directory
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.
The pwd command prints the working directory. The working directory is the directory you are "in", where operations on files that don't have an absolute path specified will be performed. For instance, if my working directory is /home/username/stuff, then the command echo "test" > test.txt would place the file test.txt in that 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.
mv file /path/to/directory
Using man ls will open the manual page for the ls command. The ls command lists the files and folders in the current directory.
In order to zip a subdirectory in Linux you would use the zip command with the recursive flag to specify that it should add all files under that directory into the zip file. The command would then be zip -r .zip .
lpr For example: lpr *.pdf to print all pdf files in your current directory.
In Linux the chmod command is used to set file permissions.
The command in a terminal is: ls (short for List). This will list the files in the current directory. Whilst in the Home directory, to list the files in a different directory, for instance Videos, use: ls Videos.