sh tag

193 questions


1 answers
278 views
0
I want to use associative array in zsh, but it doesn't work.

I write a shell script with macOS zsh, but there are many samples on the Internet that use the -A option when using the associative array (declare command), but when I actually use it, I am told that ...

2 years ago

2 answers
411 views
0
When I was editing .zshrc, the command line became long and disturbing.

When I was editing .zshrc, the command line became long and disturbing.How can I undo it?\[\e]0;\u@\h:\w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[0...

zsh
2 years ago

1 answers
304 views
0
Install Ubuntu as a Virtual Guest in VirtualBox and Connect to ssh from a Windows 10 Host

Installed Ubuntu 20.04.2 LTS as Virtual Guest in VirtualBox 6.1.16Guest has no ssh connection from Windows 10 Home 20H2.Question detailsYou are trying to define a Unit configuration file for ssh in sy...

2 years ago

1 answers
453 views
0
How to Proxy for Browser Communications Only in Bash Scripts

I would like to use the proxy specified only when the chrome browser communicates through the Bash script, is that possible?I have a vague knowledge of the network, so could you tell me what kind of a...

2 years ago

1 answers
326 views
0
I am using bash on Lubuntu 20.04 LTS, but I get an error using the rename command.

symptomsInstalled the rename command with apt-get on the Lubuntu 20.04 LTS bash.Then, when I ran the following command so that the file extension is .sh and the extension is .txt, I got an error.$rena...

2 years ago

1 answers
339 views
0
I want to connect to the virtual machine from another machine in the Vagrant bridge local.

You have enabled the following for vagrantfile:I don't wear the host part with anyone else.config.vm.network public_network, ip: 192.168.33.100Connect to the guest machine and ifconfig results. [vagra...

2 years ago

1 answers
501 views
0
GitHub is not accessible from git-bash

The git command on a git bash installed in Windows causes various problems.You can use git --version to verify the git installation.The git clone command looks like this: git clone https://~~Cloning i...

2 years ago

1 answers
361 views
0
The error could not have occurred when running source hoge.env on C Shell.

hoge.csh#!/bin/csh-fsource hoge.env[EOF]hoge.env#Originally set the environment variable hereset | grep-aversion# version displayechhhho The End [EOF]Run Results$./hoge.cshversion tcsh6.17.00 (Astron)...

2 years ago

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
101 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 - »

© 2024 OneMinuteCode. All rights reserved.