我在天马彩票平台输了三十万

Questions tagged [bash]

Questions specific to GNU’s Bourne Again SHell, as opposed to other Bourne/POSIX shells. For questions about Unix shells in general, use the /shell tag instead.

Filter by
Sorted by
Tagged with
0
votes
2answers
27 views

The most secure way to store a variable in shell

I basically need to load, save and reload multiple times and in different forms a variable that contains arguments for a program. The problem is that this variable can't be treated as a usual variable ...
2
votes
1answer
13 views

How can I supply a numeric argument to a Readline function e.g. `glob-expand-word`?

How can I supply an argument to a Readline function, e.g. glob-expand-word that is bound to C-x * by default? In this case, I want to supply a numeric argument to make append an asterisk to the word ...
-7
votes
0answers
28 views

I need the command to input for this 👉“adminroot@kali :~$” [duplicate]

I need the command to use for this adminroot@kali :~$. It says, Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law Then it shows this adminroot@kali :~$.
0
votes
5answers
61 views

Querying csv files like sql

This is apparently a popular interview question. There are 2 CSV files with dinosaur data. We need to query them to return dinosaurs satisfying a certain condition. There are 2 choices - use only ...
0
votes
2answers
31 views

Why isn't $ARRAY+=$var working for me?

I am trying to add an element to a bash array. I looked at this question and tried to follow its advice. This is my code: selected_projects=() for project_num in ${project_numbers[@]}; do ...
0
votes
1answer
12 views

Arch linux arm proot installation on android cannot set terminal process group (bash) and no job control in shell

Recently on my android device I installed Arch via proot on termux but when I run the installation and enter bash it tells me that it cannot set the terminal process group and that it has no control ...
0
votes
0answers
7 views

Is it possible to use unicode character within glob pattern in mime definition file?

I'm issuing the command xdg-mime install nv-custom.xml - using this file: <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/...
0
votes
0answers
13 views

Call a python script from bash function, and than call from the python script bash

I want to use a bash function with arguments,that I can call it from the shell. The bash function I want to use it as a sort of an alias, to do some complex commands. Before doing some of the ...
-4
votes
1answer
30 views

Using bash I need that to know if I am in a folder path subdirectory (only first level)

Using bash I need that to know if I am in a folder path subdirectory (only first level). For example: I want to know(return true) if I'm in: alpha/beta/gama alpha/beta/teta but false if I'm in: ...
1
vote
1answer
21 views

removing all leading occurences of [[:space:]]* and #*

the input file has lines: line1 ##### 1592524754 ### okoko ## ### ## sfsffsf the expected output is: line1 1592524754 okoko sfsffsf I can only replace one set of [[:space:]]* and #'shes at ...
0
votes
0answers
13 views

Catch signal when a command fails

I'm trying to build a shell that gives you suggestions if you have a typing error, but I'm having trouble to catch the error. The user will type something and after parsing it, I will use the execvp() ...
1
vote
1answer
36 views

Syntax error when executing web script via curl or wget

I don't understand what's wrong. When executing a bash script via wget or curl the script aborts with a syntax error. Although it works if downloaded and executed as a local file bash script.sh. wget -...
2
votes
1answer
23 views

Is there a way to get a current directory of a nautilus window?

I'm opening a nautilus window from my bash script with nautilus --new-window . How can I keep reading the currently open directory (even after navigating somewhere)?
0
votes
0answers
12 views

svn authentication on unsafe machine

i need to access some repository on an unsafe server. I dont want to store my password anywhere else than current session. What I came up with so far is combination of histcontrol ignorespace then ...
0
votes
2answers
21 views

$! is empty when running command in bash with -c or in subshell

I am trying to get the pid of the previous command with $!, but that only works in the 'main' shell: $ echo "test" | echo $! 4436 $ If I start a subshell, then it's empty: $ bash $ echo &...

15 30 50 per page
1
2 3 4 5
1321
怎么样进入赌单双软件 手机棋牌输了几百万 怎么购买手机赌博软件 我爱彩票邀请码是多少 我想查查彩票开奖结果 快钱彩票官网 快乐棋牌游戏 手机版彩票过滤工具 怎么下载波克棋牌 快乐12任5遗漏数据