Skip to content

Commit f1ede22

Browse files
authored
Create comment.sh
1 parent 2f3f957 commit f1ede22

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

comment.sh

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

0 commit comments

Comments
 (0)