bash tag

84 questions


1 answers
121 views
0
I want to know which process to kill using port number 80

I am currently studying Docker, and I am referring to My first Docker for Mac.In conclusion, Which process ID should I kill?Also, please let me know why you kill the process ID out of several. docker ...

2 years ago

3 answers
100 views
0
I want to substitute a value for a variable in a file with Bash.

I want to substitute the variable I set in the command to the variable in the file, but I'm having trouble because I don't know how to substitute it.Isn't there a way to substitute the value outside t...

2 years ago

3 answers
72 views
0
What is an Escape Character?

I'm not sure about escape characters, but When expressing backslash, it is expressed like ¥, but Are there any characters that have been decided as escape characters?http://home.a00.itscom.net/hatada/...

2 years ago

3 answers
202 views
0
bash does not load variables

Does not read variables in files with bash through/.profile or through/.bash_profile.For example, in .bash_profile, export x=100 asecho$xdoes not print a value of x.The /etc/profile setting is #System...

2 years ago

1 answers
95 views
0
Unable to use end-of-line specification using $ symbol in grep

Prerequisites/What you want to achieveI am learning regular expressions in bash on macOS.I tried to end the line with the $ symbol in grep, but the search pattern was not recognized.problems you are h...

2 years ago

2 answers
138 views
0
I want to be able to type commands on my Mac terminal.

I am currently learning Python.While learning Python notation on Mac Terminal, I accidentally operated it and entered the mode as shown in the image.(I don't remember what I did...) Once I close the t...

2 years ago

1 answers
116 views
0
"make:execvp:/bin/sh:Argument list too long" error during build with make command

There is an error when building with the make command.I can't tell if the Linux setting is bad, the Makefile is bad, or the shell is bad, so please let me know.raspberry pi3B+openSUSE 64bitMakefile an...


1 answers
126 views
0
Understanding How to Analyze Maillogs, Aggregate them to One Line, and Output them

environment:CentOS 6.9Thank you for your help.It was very helpful that you previously taught me how to use awk to extract mail logs for a specified period of time.I was thinking a lot about improving ...

2 years ago

3 answers
141 views
0
I want to write a shell script that searches in any folder and handles any files that match the criteria.

There are two things I want to do, but I'm having trouble writing well.The following are the things I would like to deal with.1Search recursively for *.rar in folder AZip all *.rar files that hit the ...

2 years ago

6 answers
140 views
0
In Ubuntu's bash, simply type `cp-high-character filename .old`

Backing up files with long file names, for example, in Ubuntu's standard bash shell Is there any easy way to omit and type commands by hand?Example cp very-long-filename.txt very-long-filename.txt.old...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.