All Questions
13 questions
0
votes
1
answer
90
views
Is there any way to permanently have shell aliases on an imutable system
I'm on blendOS https://blendos.co/ which is an immutable operating system which means I cant just add a file to /bin/ like you would do normally to add a custom command
right now I'm keeping it simple ...
1
vote
1
answer
2k
views
Bash script for plotting multiple files with Gnuplot
I want to plot several files just executing a bash script which calls Gnuplot. My idea of a possible bash script is:
#!/bin/bash
gnuplot
plot 'my_first_file.dat' u 1:2
replot 'my_second_file.dat' u 1:...
-1
votes
1
answer
1k
views
I need to bruteforce a 4-digit-pin locked executable program in Linux terminal. Help? I am new to Linux
I have a program called program-5.exe that takes one 4-digit argument. If it is correct, I get access and complete the challenge but otherwise it just denies access. What I think I mainly need to know ...
0
votes
2
answers
1k
views
How to run a python cmd inside a bash cmd over ssh
When I run the following in my bash terminal, it works fine.
$ bash -c "python -c \"print 'helloworld'\"" ---> helloworld
However when I try to do this over ssh, it give me nothing, can someone help ...
1
vote
1
answer
946
views
getopts in function that is called more than once in a script, getopts doesn't detect any opts after 1st function call [duplicate]
I have read the getopts man page and am still not sure about this use case.
getopts is not detecting any available options the second time a function is called in the same script.
As you can see ...
-1
votes
2
answers
1k
views
Replace a variable with stdin?
I want to loop over some values and I know I can simply use a for loop but is there any other way that I can replace a variable value in a command at the end of the command?
Somewhat like
echo 11"$...
3
votes
1
answer
1k
views
deepin-terminal: Failed to execute child process
I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.
Script:
#!/bin/bash
deepin-terminal -m fullscreen -e "cmatrix ...
2
votes
3
answers
26k
views
Run a script in a new terminal window
I am looking to run a script that is separate from my parent script in another terminal window while keeping the current window usable.
The reasoning behind this is I wish to allow the user to be ...
4
votes
4
answers
8k
views
Loop over everything in a directory?
Alright, before this is immediately closed as a duplicate, let me explain. I have attempted many methods such as:
for d in /Applications ; do
echo "$d"
done
but that returns
/Applications
...
1
vote
0
answers
567
views
Creating master process and connecting slave processes
Google-fu failed me on this issue as I have no idea what are the correct keywords and this is my first time encountering such an issue.
I am using Linux Mint and I am trying to run a program called ...
3
votes
2
answers
3k
views
Command to merge all terminal windows?
Is there a terminal command that merges all open terminal windows into one window with tabs? Been searching all over the place, but have yet to find any solutions.
1
vote
1
answer
285
views
User Input Bash Script
I am trying to make a Bash Script that has 4 choices and prompts the user to select an option. Each option corresponds to a Linux Command operation. Can someone give me a bash example on how could ...
2
votes
2
answers
595
views
How to format textutil -excludedelements
I use Geektool on the Mac to display various information on my desktop. One feature of Geektoool is the ability to use shell mode to launch custom scripts or commands. I am not versed in any type of ...