All Questions
Tagged with terminal command-line
321
questions
1
vote
2
answers
2k
views
How to run simultaneous commands in single terminal
I feel like this should be answered somewhere, but for the life of me I cannot find it so I figured I'd just ask...
I'm trying to run 2 commands in my terminal simultaneously, but I need them to run ...
0
votes
3
answers
4k
views
How to extract files recursively but keep them in their own folders?
This is how I'm extracting all the files in a folder (recursively):
find -iname \*.epub -exec unzip -o {} \;
But the extracted files end up all in the parent folder:
Parent (Extracted Epub files)
...
0
votes
1
answer
970
views
How to automatically replace mimetype when unzipping?
I'm using the following command to unzip epub files recursively inside a folder:
find -iname \*.epub -exec unzip {} \;
It works. But the terminal asks me this each time a file is being extracted:
...
0
votes
1
answer
443
views
Get free/used ports in a specific range
Is it possible to get either the free or used ports between a specific range? If yes, whats is the command?
Thank you in advance!
1
vote
1
answer
2k
views
How can I find a program name so I can open them?
I'm a new user in Linux, and I want to know how can I find a name of an installed program so I can open it from the terminal.
Is there a way?
For example, I use the system on Portuguese language, and ...
1
vote
2
answers
2k
views
Information of new user won´t show in terminal
I created a new user and logged in successfully on my ubuntu 20.04 machine.
When I logged in as root the terminal looks like this:
root@ubuntu-s-1vcpu-1gb-fra1-01:~#
When I login with my "...
0
votes
0
answers
55
views
How to NOT show the tags?
wadewayne@Cheetah:~$ man sdcv
wadewayne@Cheetah:~$ sdcv GNU
Found 28 items, similar to GNU.
-->McGraw-Hill Dictionary of Science and Technology
-->gnu
<BR><BR><b>VERTEBRATE ...
0
votes
0
answers
361
views
echo not taking colour settings
Have printed some text for useful directories in my bashrc
but the colour of the echo text is not being taken from the definition
of the dircolors.
In dircolors I have
NORMAL 01;32 # Bold Green
...
0
votes
1
answer
114
views
Can I Shuffle Audio Files With SOX
I am using this command on my raspberry pi:
sox -t mp3 /home/pi/Desktop/ribo.mp3 -t wav - | sudo ./pi_fm_rds -freq 94.5 -audio -
Basically, it takes all the mp3 files in a directory and changes ...
-2
votes
2
answers
4k
views
How to turn off colors for a specific command?
Is it possible to turn off colors for a specific command like ls, but without using the api of the command itself? Is there an env variable kind of thing that will turn off coloring for a command like ...
1
vote
1
answer
96
views
Adding pages to terminal applications
I can explain my problem with an example, let us take an example of
man command, when we run this command in the terminal it opens the page in a new window, you cannot see what you had done before, in ...
2
votes
1
answer
216
views
How to create a custom CLI warning
In Terminal, how can set up a custom warning so that when I type a specific command like
git pull origin master
the command doesn't go through and I get a warning output like
Did you mean git rebase ...
-2
votes
3
answers
814
views
How to start with sudo privileges every time I run terminal with CTRL+ALT+T
I'm using Kali Linux and I want to start with sudo privileges every time I run the terminal using CTRL+ALT+T.
I tried this solution but it's not working:
is-there-a-way-to-stop-having-to-write-sudo-...
0
votes
1
answer
207
views
CamelCase-aware backward-kill-word in readline
backward-kill-word is a readline action that deletes the previous alphanumeric word. For example, applying this action in the following scenario (▯ indicates the position of the cursor)
echo hello-...
2
votes
2
answers
4k
views
Command/script to start a terminal, enter text but don't execute (wait for text to be written, pasted, etc.)
I often
write commands in the terminal that I don't know by heart, and then
paste some path or file name from the clipboard, before pressing Enter.
I thought that it would be fun to do the first ...