Skip to content
Advertisement

Tag: terminal

Save multiple docker images using one command

Currently I am exporting docker images using below command docker save imageName | gzip > imageName.tar.gz docker save mysql | gzip > mysql.tar.gz This command working fine for single image, i have tons of docker images in my local system, want to export. but i don’t know how to export all images which is available in docker images. Please guide

Extracting month from day using linux terminal [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I am having a text file containing a list of date and time just like the sample below – posted_at”

send Ngrok random port number through terminal

I use Ngrok service to forward my local network to the internet but for my specific application as I do not have access to hardware I need to run ngrok automatically after boot and send random port number and host address which ngrok assigns to my local port through sendmail package to a specific email address in terminal directly.So I

Clear input buffer Assembly x86 (NASM)

Edit: This is similar to this: Reset a string variable to print multitple user inputs in a loop (NASM Assembly). But it is not the same issue. From the other post, I was able to prevent additional characters from being printed. However, I still cannot prevent those additional characters from being read when the program goes back to the point

Failed to install

I was trying to install gospider and other tools,I get this error I tried to update sudo go get -u all as in here but it runs forever. Answer If strings.ReplaceAll is undefined that means you’re using a version of Go prior to 1.12, which is when that function was added. To install that package, you need to first update

Read last line of file after the file was modified

I have a problem with reading the last line of file in Linux Ubuntu. I have a file named auth.log and I’m trying to read it last line after new line was added (after file was modified). I know i need to use tail -1 /var/log/auth.log to get last line but I don’t know how to check the file every

Bash terminal error when using ‘unmask’ command [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 2 years ago. Improve this question

Advertisement