Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ssh
- grep
- web.xml
- IntelliJ
- 단축키
- resource
- 네트워크
- Source
- GIT
- plugin
- Mac
- netsh
- lsof
- Windows
- port
- import
- vscode
- Quartz
- VirtualBox
- xargs
- tomcat
- Eclipse
- find
- bash
- context
- Windows 10
- maVen
- 줄바꿈 문자
- profile
- JavaScript
Archives
- Today
- Total
목록2024/03/13 (2)
develog
[bash] chpasswd, 쉘 스크립트로 root 비밀번호 변경하기
## chpasswd 사용$ echo "root:111111" | sudo chpasswd## passwd 사용$ sudo passwd rootNew password:Retype new password:passwd: password updated successfully
카테고리 없음
2024. 3. 13. 14:04
[linux] heredoc, here document
here document 문법명령어 # test.shcat 실행결과 -> 블럭 안에 탭이 적용된다$ ./test.sh aa bbcc # test.shcat 실행결과 -> 블럭 안에 탭이 무시된다 $ ./test.shaabbcc 변수 사용, 명령어 실행- 변수 사용 : ${}- 명령어 실행 : $()# test.shmessage="hello world"cat 실행결과$ ./test.sh# variablemessage=hello world# commanddate=Thu 14 Mar 2024 12:28:49 AM UTC sftp 사용 예제sftp user01@127.0.0.1
카테고리 없음
2024. 3. 13. 13:56