forked from Landmark-Fintek/scripting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
comment.sh
33 lines (31 loc) · 881 Bytes
/
comment.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<<Password
1. configure password authentication
sudo vi /etc/ssh/sshd_config
PaswordAuthentication yes # change from no to yes
sudo systemctl restart sshd && sudo passwd ec2-user
2. ssh ec2-ser@publicIP
Password
#!/bin/bash
<<sp
Title : Learning comment
description :
author :myLANDMARK.tech S Legah
date :08112012
version :1.0
Tel :437 215 2483
pwd
sp
<<comment
This script is for beginners.
Learn how to write simple script
Linux is very easy to understand.
This script was written by LandmarkTechnology
comment
echo "example about using multi-line comment"
#echo "This line is commented""
#echo "This line is commented"
echo "This is in Multi line comment section"
echo "This line aslo in Multi line comment section, it will be ignore"
COMMENT
echo "This is after Multiline comments section"