bash tag

84 questions


1 answers
90 views
0
About /usr/local/ directory - Python related package installation issues

Hello. I'm asking for your help because it was blocked from the first installation stage during the assignment.This is the installation address of the Python robot-related package that I have to insta...

2 years ago

1 answers
57 views
0
There are some parts of Linux shell file programming that I don't understand.

It's very basic, so I have no idea what's wrong.test.sh#!/bin/bashecho TEST START !!VAL = `ps -ef | tail -3`echo $VAL Execution resultTEST START !!./test.sh: 5: ./test.sh: VAL: not foundIs there anyth...

2 years ago

1 answers
76 views
0
Shell Script OR Operator Questions

service ssh status > /dev/null || sudo service ssh startA script that runs the SSH service on the Linux cli.The middle || operator is OR, right?How does it work if the || operator is inserted betwe...

2 years ago

1 answers
69 views
0
How do I get a Bash Shell Enter?

I want to end the program when I receive the enter with the read command I looked it up on the internet, and they got an entry with . But I keep getting errors when I try it Can you tell me what the p...

2 years ago
« - 9 -

© 2024 OneMinuteCode. All rights reserved.