84 questions
All commands now appear command not found on the Debian 10 bash shell...How can we solve this problem?Is there only a reinstallation?Please let me know.
I changed JAVA_HOME to terminal, but the terminal on another tab returns to the original setting.What should I do if I want to permanently reflect the environment variables that I set in Terminal?Writ...
What should I do if I want to use bash to combine the second row of the same row in the first row into one row?Illustrated a1a2a3b4c5c6d7d8e9Text a 1 2 3b4c56d78e9That's how I want to deal with it.Ple...
If you follow the instructions on the Internet to get through the PHP PATH, $whichphp/Applications/MAMP/bin/php/php 5.4.10/bin/php$ php-vPHP 5.4.10(cli)(build:...tec.I succeeded, but when I checked it...
There is a list like this.This list is entered from standard input.-062656-072654-082755-1001-1101-1201-130152-1452Then use the date command to get the time and store it in the variable.Then search fo...
I'm a beginner in shellscript.When creating a client certificate with easy-rsa for OpenVPN, I wrote the following code so that it could be executed in shellscript:#!/bin/bashexpect-cset timeout5spawn ...
In the shell script, I wanted to get the directory at the bottom of the path specified in the argument, so I wrote:■test.sh #!/bin/shmyfol=`awk-F/{print$NF}${1}`mylog=2016_${myfol}.txttouch${mylog}■ R...
If you press Tab while using bash in an interactive environment, the list of complementary candidates will be displayed, but is it possible to get this from the shell script?In other words, the curren...
On bash, I would like to press Enter and execute some commands when the line changes. Is there such a hook method?Specifically, it looks like this:$cat foobar.txt# running anything command$ # Enter# r...
I would like xargs to handle the long file path I got from find, but the -I option does not workdirectory structure:Commands Executed path=What's wrong with you? What's wrong with you? What's wrong wi...
« | - 5 - | » |
© 2024 OneMinuteCode. All rights reserved.