cd = Change Directory
mkdir = Make Directory, this command requires elevated privileges, so run it with sudo or gksudo
(where foldername is the name of the folder that you wish to create).You can create subfolders from within /var/www without changing to the desired destination by using:
cp = Copy one or more files to another destination
This can be used for any kind of file.Note: If you wish to use a GUI for these tasks, you can use Nautilus with elevated privileges, simply hit Alt+F2 and write gksudo nautilus , then Enter after which you will see Nautilus File Browser, press Control+L and write /var/www and you can copy/paste or drag/drop anything you wish with ease.For a comprehensive list of the commands, visit: http://ss64.com/bash/ Good luck |
Comments
Post a Comment