When managing your https://cp.controlpanel.systems/ , you may wish to use SSH access for one or more of your packages.
Enabling SSH access will give you easier management of your package(s), as you'll be able to use UNIX commands and utilities to carry out tasks and activities.
Here's a list and explanation of some basic commands:
ls – 'ls' (list) is perhaps one of the more commonly used commands. It will list all of the files in the current working directory (the directory the user is currently-in).
[controlpanel.systems@localhost Public]$ ls
Documents Music Pictures
[controlpanel.systems@localhost Public]$ ls -lah
total 20K
drwxr-xr-x. 5 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 .
drwx------. 28 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:00 ..
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Documents
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Music
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Pictures
[controlpanel.systems@localhost Public]$
-lah - this series of letters changes the appearance of the output: 'l' means in the long list format (so it's ordered and more readable), 'a' means all files/directories (don't ignore hidden files that begin with a '.') and 'h' means to print sizes of files/directories in a human readable format, e.g., 1.0K, 234M, 3.5G instead of the exact number of bytes.
pwd – the 'pwd' command (print working directory), will output/write the full path of the current working directory.
[controlpanel.systems@localhost home]$ pwd
/home
[controlpanel.systems@localhost home]$
cd – 'cd' (change directory) allows a user to move from one directory to another.
[controlpanel.systems@localhost ~]$ cd Documents/
[controlpanel.systems@localhost Documents]$
mv – 'mv' (move) lets you move files and directories from one location to another.
[controlpanel.systems@localhost Public]$ ls -lah
total 20K
drwxr-xr-x. 5 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:06 .
drwx------. 28 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:00 ..
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Documents
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 0 Jan 6 10:06 foo.txt
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Music
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Pictures
[controlpanel.systems@localhost Public]$ mv foo.txt Documents/
[controlpanel.systems@localhost Public]$ cd Documents/
[controlpanel.systems@localhost Documents]$ ls -lah
total 8.0K
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:07 .
drwxr-xr-x. 5 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:07 ..
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 0 Jan 6 10:06 foo.txt
[controlpanel.systems@localhost Documents]$
cp – 'cp' (copy) will allow a user to copy files and directories from one location to another.
[controlpanel.systems@localhost Documents]$ ls -lah
total 12K
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:09 .
drwxr-xr-x. 6 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:11 ..
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 12 Jan 6 10:09 foo.txt
[controlpanel.systems@localhost Documents]$ cp foo.txt foo2.txt
[controlpanel.systems@localhost Documents]$ ls -lah
total 16K
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:14 .
drwxr-xr-x. 6 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:11 ..
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 12 Jan 6 10:14 foo2.txt
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 12 Jan 6 10:09 foo.txt
[controlpanel.systems@localhost Documents]$
rm – 'rm' (remove) allows the removal of many types of objects, such as, files, directories, and symbolic links.
[controlpanel.systems@localhost Documents]$ ls -lah
total 12K
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:14 .
drwxr-xr-x. 6 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:11 ..
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 12 Jan 6 10:14 foo2.txt
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 12 Jan 6 10:09 foo.txt
[controlpanel.systems@localhost Documents]$ rm foo.txt foo2.txt
[controlpanel.systems@localhost Documents]$ ls -lah
total 16K
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:16 .
drwxr-xr-x. 6 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:11 ..
-rw-rw-r--. 1 controlpanel.systems controlpanel.systems 12 Jan 6 10:09 foo.txt
[controlpanel.systems@localhost Documents]$
man – the 'man' (manual) command can be used to display the documentation/manual page(s) for command line tools.
[controlpanel.systems@localhost ~]$ man grep
mkdir – 'mkdir' (make directory) can be used to create a directory.
[controlpanel.systems@localhost Public]$ ls -lah
total 20K
drwxr-xr-x. 5 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:07 .
drwx------. 28 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:09 ..
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:09 Documents
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Music
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Pictures
[controlpanel.systems@localhost Public]$ mkdir Downloads
[controlpanel.systems@localhost Public]$ ls -lah
total 24K
drwxr-xr-x. 6 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:11 .
drwx------. 28 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:09 ..
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:09 Documents
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:11 Downloads
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Music
drwxrwxr-x. 2 controlpanel.systems controlpanel.systems 4.0K Jan 6 10:03 Pictures
[controlpanel.systems@localhost Public]$
grep – 'grep' (global regular expression print) is a useful command line tool that allows you to search for patterns, and their corresponding lines, in the input file(s) specified.
[controlpanel.systems@localhost Documents]$ grep -n Test foo.txt
1:Test.
[controlpanel.systems@localhost Documents]$
du – 'du' will show the disk usage of the files and directories in the directory specified (if a directory is not specified, the current working directory will be used).
[controlpanel.systems@localhost Public]$ du -sh Documents/
8.0K Documents/
[controlpanel.systems@localhost Public]$