Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ mkdir -p level1/level2/level3/level5
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ ls
'How to choose an AMI by Root Device Type' 'How to Install phpMyAdmin on LAMP server' 'How to Secure the LAMP Server Database' README.md
'How to host a WordPress Blog with in Amazon Linux' 'How to resolve InstanceLimitExceeded error of EC2 server' level1/
'How to Install a LAMP Web Server on Amazon Linux 2' 'How to retrieve the System Logs of our EC2 Server by Raj Gupta' raj.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ cd level1/
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1 (master)
$ vi raj1.test
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1 (master)
$ ls
level2/ raj1.test
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1 (master)
$ cd level2/
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2 (master)
$ vi raj2.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2 (master)
$ ls
level3/ raj2.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2 (master)
$ cd level3/
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2/level3 (master)
$ vi raj3.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2/level3 (master)
$ ls
level5/ raj3.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2/level3 (master)
$ rm -rf level5/
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2/level3 (master)
$ ls
raj3.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer/level1/level2/level3 (master)
$ cd ../../..
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ ls
'How to choose an AMI by Root Device Type' 'How to Install phpMyAdmin on LAMP server' 'How to Secure the LAMP Server Database' README.md
'How to host a WordPress Blog with in Amazon Linux' 'How to resolve InstanceLimitExceeded error of EC2 server' level1/
'How to Install a LAMP Web Server on Amazon Linux 2' 'How to retrieve the System Logs of our EC2 Server by Raj Gupta' raj.txt
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
Untracked files:
(use "git add <file>..." to include in what will be committed)
level1/
nothing added to commit but untracked files present (use "git add" to track)
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ git add .
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: level1/level2/level3/raj3.txt
new file: level1/level2/raj2.txt
new file: level1/raj1.test
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
$ git commit -m "added file"
[master 3283852] added file
3 files changed, 3 insertions(+)
create mode 100644 level1/level2/level3/raj3.txt
create mode 100644 level1/level2/raj2.txt
create mode 100644 level1/raj1.test
Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/Amazon-Web-Services-AWS-Cloud-Engineer (master)
No comments:
Post a Comment