bash tag

84 questions


1 answers
105 views
0
The nvim configuration (init.vim) has a syntax error, but I don't know what's wrong.

I think it's basic, but I can't erase the following error about init.vim in nvim.letg: python3_host_prog=system('(type pyenv&>/dev/null&&echo-n$(pyenv) root)/versions/$(pyenv global | g...

2 years ago

1 answers
98 views
0
How do I print only to a file instead of displaying the results in the terminal in the bash script?

How do I print only the json file? echo-e $STR | tee$date.jsonI think I can do something about the echo here.But I'm still a beginner, so I don't know exactly what commands to use, so please let me kn...

2 years ago

1 answers
127 views
0
Understanding the Behavior Differences between jobs Command zsh and bash

I'm having trouble with the behavior difference in zsh when using the jobs command. Specifically, #!/bin/zshfor in {1..10}; do sleep1& jobs | wc-l jobsdoneIf you execute this, the number of lines ...

2 years ago

2 answers
118 views
0
I'm trying to install Anaconda3-5.0.0 on pyenv in Bash on Windows, but I'm into it.

Environment: Windows 10, Bash on Windows (Ubuntu 16.0.4) Pyenv is working fine and has been updated to the latest version, but Anaconda cannot be installed.This is my first installation of Anaconda on...

2 years ago

3 answers
118 views
0
Why do I get a list of files when I run echo* on the Linux command line?

For example, on Linux, if there are three files in the current directory: #ls-lTotal 0-rw -r --r --1 root root 0 August 31 21:34 2022 AAA-rw -r --r --1 root root 0 August 31 21:34 2022BBB-rw -r --r --...

2 years ago

1 answers
94 views
0
Linux - Override standard errors in the Bash shell: I'm not sure what File Descriptor means.

I've read the terms and conditions, but there's nothing related to the question like Stack Overflow, so I'm asking about Linux.When I was reading a translation of The Linux Command Line (Complete Intr...

2 years ago

1 answers
110 views
0
How to handle scripts woven from C language to bone shell

You are about to use bash script in C language.You don't have to run the bash script fileAs shown in the source below, I want to define the bash script as a definition statement and then run it in the...

2 years ago

1 answers
78 views
0
Meaning of code with exitcode=0 in the .sh file

I was studying Docker.I saw a code line that said exitcode=0 in the sh file.I'm not sure what exitcode=0 means. I would like to ask for url with a brief explanation or explanation of exit code. Thank ...

2 years ago

2 answers
65 views
0
Error executing jquery in Bashscript

When you run the script by inserting the html code into the bash script,Simple code from which html files are created. Google charts are also loaded well, but if you just write in jquery, the followin...


2 answers
100 views
0
How to set relative paths by file, not by path criteria for entering commands?

The title is weird because I don't know it well.The result depends on where the command written in the shell script runs the script.For example:#!/bin/shpwdScripts like this home p parent ch Child te...

« - 8 - »

© 2024 OneMinuteCode. All rights reserved.