Page 1 of 1

mkdir - Create a new directory

Posted: Sun Apr 20, 2025 5:45 am
by suchona.kani.z
If you want to view the contents of a directory , simply use the ls command .

SSH ls command
You can also use additional parameters to get more information about who we are. For example, just add -lto get detailed information or -ato show hidden files.


3. cd – Changing directory
The cd command allows you to change directories. You can move to a subdirectory or to a completely different directory:

1
cd [directory]
In the above code, you can replace [directory] with the name of the directory.

For example, if you enter the cd command wp-content/themes, you will move to the themes usa telemarketing data directory within your WordPress installation.

SSH Commands for Managing Files and Folders
Let's see some SSH commands to manage files and folders on your WordPress website server .

4.
With the mkdir command you can create a new directory in the current directory. Simply enter the following command along with the folder name:

1
mkdir [folder name]
For example, let's say we want to create a folder for stylesheets. The SSH command would be mkdir stylesheets.