Category / General
-
Copy file to local folder from docker container
Check containerId, by runing this command: sudo docker ps In order to copy a file from a container to the local computer, use following command: docker cp <containerId>:/file_path_inside_container /local_path Here's an example:…August 13, 2019 -
Changing the folder where screenshots placed on Mac
By default all your screenshots are saving on desktop, but you can change this location to any other folder on your Mac. First of all, start the terminal. I personally prefer iTerm,…February 2, 2018 -
Create admin user in ubuntu linux
1. Login as super user: sudo su 2. Run the following command: adduser username Don't forget to replace username with the name of user that you want to create. 3. Add the user to…December 5, 2017 -
How to generate and copy SSH key in Mac OS
Generate SSH key First of all, open terminal window. I personally use iTerm2. To generate SSH keys , enter the following command in the Terminal window: ssh-keygen -t rsa You will need…July 10, 2017
Loading posts...