it inra Flashcards
Shell comands:
list directory
ls
Shell comands:
Copy a file
cp
Shell comands:
Rename a file
mv
Shell comands:
Current working directory
pwd
Shell comands:
Create a directory:
mkdir
Shell comands:
Change into a directory
cd
Shell comands:
List processes
ps
Shell comands:
Kill a process
kill
Docker commands:
List running containers
docker ps
Docker commands:
List all containers
docker ps –a
Docker commands:
List images
docker image ls
Docker commands:
List volumes
docker volume ls
Docker commands:
Pull a docker image
docker pull <image></image>
Docker commands:
Run a container
docker run <image></image>
Docker commands:
Stop a container
docker stop
Docker commands:
Remove a container
docker rm
Git commands:
Initialize local repository
git init
Git commands:
Add (changed) files to repo
git add
Git commands:
Commit changes
git commit –m “<message>”</message>
Git commands:
Manage remote repositories
git remote