Software Engineer have remembered some command which are mostly used for software development to make quick and easy manner if server system is Lenux based.
You have various choices for getting Secure Socket Shell SSH.
What is SSH?
SSH is widely used by network administrators for managing systems and applications remotely, allowing them to log in to another computer over a network, execute commands and move files from one computer to another.
You also get understand for navigate and work with files and database in SHH or Linux terminal.
||Show directory contents (list the names of files).
you should list directory and file in this location.
firstname.lastname@example.org [~]# ls
public_html etc tmp logs
1: List Specified path files:
Example: ls <path/inner_path>
email@example.com [~/public_html/sites/pk]# ls test_p
2. List all with hidden files:
Example: ls -a
3. List all with .dot files and hidden files:
Example: ls -all
4. See file and List all folder and files permission
@pkbhandari.com [~/public_html/sites/pk]# ls -lt
folders : test_p,pkb_files
Files : pkb_file.txt
The bits we are interested in are drwxr-xr-x prakash and group
The d tells us that test is a directory. if without d it is file (pkb_file.txt).
The first three characters after the d are the owner permissions for the directory specified by the owner’s name.
To change the permissions for a file or folder you can use the chmod command. The chmod command lets you specify 3 numbers which set the permissions.
To get a mixture of permissions you add the numbers together. For example to get read and execute permissions the number you need is 5, to get read and write permissions the number is 6 and to get write and execute permissions the number is 3.
Remember you need to specify 3 numbers as part of the chmod command. The first number is for the owner permissions, the second number is for the group permissions and the last number is for everyone else.
For example to get full permissions on the owner, read and execute permissions on the group and no permissions for anyone else type the following:
you should navigate the direction with folder name.
firstname.lastname@example.org [~]# cd public_html
It will enter you in public_html folder.
||Create a new folder (directory).
Syntax: mkdir <foldername>
email@example.com [~/public_html/sites/pk]#mkdir pkb_test
it will create directory pkb_test in inside pk folder.
||Create a new file.
||Remove a file.|
||Show contents of a file.|
||Show current directory (full path to where you are right now).|
||Search for a specific phrase in file/lines.|
||Search files and directories.|
||Show last 50 used commands.|
||Clear the terminal screen.|
||Create & Unpack compressed archives.|
||Download files from the internet.|
||Get file size.|