sh tag

193 questions


1 answers
271 views
0
Does cache writing overwrite all data in the cache at the same time?Is it possible to overwrite each line in the cache?

I have a question about the following article:Computer Architecture Story (139) Direct Map Cache and Its Notes|TECH+ (Tech Plus) When I rewrite the data in the cache, do I rewrite all the data in the ...

1 years ago

1 answers
448 views
0
US>Copy command execution results to the clipboard with bash output

You can output command execution results to both standard output and files by doing the following, but can you copy command execution results to the clipboard while outputting them to standard output?...

1 years ago

3 answers
372 views
0
Displays the number of lines omitted by the head and tail of the bash together.

When I use the head or tail commands to display some of the files, I wonder if I can display how many lines were not displayed together.If file.txt is:aaabbbcccdddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...

1 years ago

2 answers
433 views
0
I manage the file name as a number like 111.jpeg, and I want to re-number it all at once with xargs-n2mv, but some files will disappear.

ls1.jpeg2.jpeg3.jpeg11.jpeg12.jpeg13.jpeg101.jpeg102.jpeg103.jpegI want to increase the number by 2ls|seds/\.jpeg//|awk'{print$1.jpeg$1+2.jpeg}'1.jpeg 3.jpeg101.jpeg 103.jpeg102.jpeg 104.jpeg103.jpeg ...

1 years ago

1 answers
378 views
0
github command inaccessible during tethering

If you use regular Wi-Fi (hotel or home Wi-Fi), the git pull and push commands are fine, but if you only use tethering or pocket Wi-Fi, the push and pull commands will keep loading.Ping 8.8.8.8 works ...

1 years ago

2 answers
293 views
0
I want to treat the comment symbol `<##>` in the shell as a string

I want to replace the <#CLIENT_KEY#> string in the source code with 12345789 in the shell script, but I got an error and I can't run it../ci_post_clone.sh:13:parse error near`\n'What should I do...

1 years ago

1 answers
367 views
0
Please tell me how to process the value received from the input tag in Html.

I'm a beginner in programming.I am thinking of a service where I can receive words in HTML with input tags and introduce recommended movies based on the results.I created the input form from the input...

1 years ago

1 answers
419 views
0
Are variable names like relative pronouns ants?

You want to create a variable name that means a labored job.jobs_worker_already_worked_forIt's a variable name with a noun modified by a relative pronoun called jobs(which) the worker already worked f...

1 years ago

2 answers
330 views
0
How to use bash Tab complement well for file/folder names such as Date_Content

If the current directory has a subdirectory similar to the following:cd20220123_EEE to move.In this case, tab completion does not work well (you must enter 20220123_E).20220120_AAA20220121_BBB20220122...

1 years ago

1 answers
392 views
0
"-bash:/usr/local/bin/node: No such file or directory" is displayed when running "node-v" on a Mac terminal.

As the title suggests, when you run node-v on a Mac terminal, -bash:/usr/local/bin/node: No such file or directory is displayed.what someone did$nodebrew listv10.0.0v11.14.0v12.16.3v16.2.0current —v12...

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.