0% found this document useful (0 votes)
6 views2 pages

SSH Commands for CentOS 7 Management

This document provides instructions for installing .NET Framework 4.5.1 and Git on a CentOS 7 system. It also lists several common SSH commands for working with directories and users, including commands to list directories, create directories, change directory permissions and owners, and add a new user with a specific home directory for FTP access.

Uploaded by

Ade Mahendra
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

SSH Commands for CentOS 7 Management

This document provides instructions for installing .NET Framework 4.5.1 and Git on a CentOS 7 system. It also lists several common SSH commands for working with directories and users, including commands to list directories, create directories, change directory permissions and owners, and add a new user with a specific home directory for FTP access.

Uploaded by

Ade Mahendra
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SSH Command (Centos 7)

Download and Install .Net Framework 4.5.1 [Link]


after install please restart.
Download and Install git Command Client [Link]

Listing Directory
[root@www ~]# ls
Listing Directory List View
[root@www ~]# ls -l
Listing Directory with detail info
[root@www ~]# ls -lA
Listing Directory with detail info and show all hidden file
Create Directory
[root@www ~]# mkdir DIRNAME
Ex. mkdir project1, Note. Please make sure create directory in correct path
Directory Permission
[root@www ~]# chmod 775 R DIRECTORY_ROOT
-R : Change permission for entire directory child
Directory Owner
[root@www ~]# chown username:group R DIRECTORY_ROOT
Add User and set home directory for ftp access
[root@www ~]# useradd -d /var/www/html/[Link]/ adexyz -p PASSWORD
username: user
password: PASSWORD
homeDir: /var/www/html/[Link]/
useradd -d /var/www/html/[Link]/ adexyz -p "PASSWORD"

You might also like