Difference between revisions of "Linux Basics for Webserver"

From 24PinTech Wiki
Jump to navigation Jump to search
Line 8: Line 8:


=== ls ===
=== ls ===
#The command "ls" is used to list all non-hidden files in a directory. This command can be used on its own to list the current working directory, or it can be used with a directory listed after it to list said directory. ex. <code>ls /etc/nginx/sites-available</code>
:The command "ls" is used to list all non-hidden files in a directory. This command can be used on its own to list the current working directory, or it can be used with a directory listed after it to list said directory. ex. <code>ls /etc/nginx/sites-available</code>

Revision as of 14:55, 14 April 2022


About

To use the webserver efficiently you will need some basic knowledge of how to navigate through, and operate Linux Ubuntu. Most of the tasks you will perform on our Nginx server will be miniscule and only require knowledge of navigating, and text editing with Vim and Nano. This page on the wiki will guide you through all of the basic commands you will need to know.

Commands

ls

The command "ls" is used to list all non-hidden files in a directory. This command can be used on its own to list the current working directory, or it can be used with a directory listed after it to list said directory. ex. ls /etc/nginx/sites-available