Skip to main content

Questions tagged [command-line]

The command-line is the interactive interface to your shell.

-4 votes
0 answers
32 views

What is the output of the following ROT13 transformation command? [closed]

The command I'm using is: echo "YRNEAVAT_YVAHK_SHAQNZRAGNYF" | tr '[A-Z]' '[N-ZA-M]' I'm having trouble figuring out the exact output of this command. Could someone explain the process and ...
Jack Harry's user avatar
6 votes
3 answers
557 views

Is there an equivalent of caniuse for commands on posix systems?

I'm thinking about using a callout to the jq in a utility script I'm writing, rather than parsing JSON manually. In order to make the script as portable as possible, I want to know which flavors of ...
Viscountess of the Junkyard's user avatar
0 votes
3 answers
34 views

Play sound after command and also pipe output

I can easily pipe the output of a command like: some_command | less I can also easily play a sound after a command like: echo test; print \\a aplay, beep or others could also be used for sound. ...
Luis's user avatar
  • 101
1 vote
1 answer
81 views

Bash completion after quotation mark

I am experimenting with bash completion to write a general completion library in C associated with command line parsing and stumbled in a behavior for which I can find no documentation. I am using the ...
user1542207's user avatar
-2 votes
1 answer
27 views

Is there a port of the Windows' REN command for Unix-like operating systems? [duplicate]

I already know the "rename" command in GNU/Linux. However, it is very complicated and cumbersome because it uses regular expressions. For example, in Windows, I can simply rename files in ...
TranslucentFoxHuman's user avatar
3 votes
4 answers
976 views

How can one count how many pixels a GIF image has via command line?

I use Ubuntu. I have a large number of GIF images. How can one count how many pixels a GIF image has via command line?
Franck Dernoncourt's user avatar
-4 votes
1 answer
87 views

Find actual file by only file name, not literally everything non-related

PuTTY/SSH and logged in as root I simply want to find any instances of the file PEAR.php. I've looked through a dozen different tutorials but they seem to just copy-paste the same instructions. An ...
John's user avatar
  • 194
0 votes
4 answers
87 views

command-line tool to sum the values in a column of a CSV file

I am looking for a command-line tool to calculate the sum of the values in a specified column of a CSV file. (Update: The CSV file might have quoted fields, so a simple solution just to break on a ...
halloleo's user avatar
  • 589
0 votes
1 answer
45 views

Is there any sort of command-line tool I can use to detect and write metadata for a song's key?

I would like to get into DJing, or at least putting songs together in series and making it work. I have already used bpmwrap to tag the tempo for every song in my library, and it immediately made me ...
Gridzbi Spudvetch's user avatar
0 votes
1 answer
31 views

rpm -qa but filtering for partial package name match?

I'm learning about the rpm package manager command. I figured out how to use rpm -qa however the list exceeds the overflow of the SSH program so I can't see the entire list. How do I use the rpm ...
John's user avatar
  • 194
-1 votes
0 answers
121 views

How to set up public Linux station safely?

On a Linux cloud machine, I want to set up a learning station for beginners (pubnix/pubunix). How can I block all internet except for incoming SSH (ssh user@cloudmachine) and except for SSH local port ...
wjwrpoyob's user avatar
  • 438
0 votes
1 answer
41 views

open vpn - not working but also dont returns any error

i have both open vpn server and client. the client is my windows pc and the server is a ubuntu 22 VPS. im running openvpn on the serverside with this command : openvpn --dev tun --ifconfig 172.16.0.1 ...
ama coder's user avatar
1 vote
0 answers
49 views

Shell: Customizing the "Display all N possibilities? (y or n)" message

I already know that double-pressing the Tab key on Bash terminal will enlist all files and folders in the current working directory or, when appropriate, show Linux executables that I can run. I want ...
groaking's user avatar
-1 votes
2 answers
73 views

How to print out all printable ASCII strings contained in binary data?

How can I print out all printable ASCII strings (e.g., longer than four chars) contained in a binary file? I used strings -a -w file.bin >>output.
minto's user avatar
  • 535
0 votes
2 answers
58 views

command suggestions while typing for beginners

When typing the commands in any shell, can there be any kind of setting that can be enabled for beginners to type just an alphabet and it will suggest multiple commands that the beginner might be ...
Abhishek Dutta's user avatar

15 30 50 per page
1
2 3 4 5
416