Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
417 views

Is there some command I can use to monitor changes in /proc/interrupt? For example, using head -4 I can see that the file is changing, but only if I run head again and again: > head -4 /proc/...
emacs drives me nuts's user avatar
1 vote
2 answers
103 views

I have a file with a list of names and a number next to it separated by a space for exemple: Mat 199 rose 150 I want to display the name that has the biggest number next to, so in this exemple, ...
hatmaster1qa's user avatar
1 vote
1 answer
91 views

i'm having issue with the script, the selection 2 and 3 doesn't show anything when executing. #!/bin/bash while true do clear echo "========================" echo "Menu ----"...
h97's user avatar
  • 11
4 votes
5 answers
4k views

Os ubuntu. Need to get links or more data (for example binding layer from QuarkXPress application) from pdf to text, in terminal. Tried pdftotext, but seems links are not exported, pdfgrep is the ...
Stanislav Hosek's user avatar
1 vote
1 answer
1k views

At some point I used a shell command that continuously sent a very short string of text to the standard output, but at this moment I can't recall it's name. Its name was something very short, like '...
Kiteloopdesign's user avatar
9 votes
3 answers
991 views

On tty2, how do I take a text screenshot of the command line?
neverMind9's user avatar
  • 1,720
0 votes
1 answer
366 views

I have a large log file and would like to detect the patterns instead of specific lines. for example: /path/messages-20181116:11/15/2018 14:23:05.159|worker001|clusterm|I|userx deleted job 5018 /...
Abdullah's user avatar
  • 101
0 votes
2 answers
77 views

When I analyze the output from Racon, which I got on GitHub, it has dynamic "animated" text as the output from the STDERR. For example, when I cat the file, it looks like this: [racon::Polisher::...
RD Ward's user avatar
  • 310
1 vote
2 answers
1k views

Basically, piping a command or block of text to something like: tail -n 3 (for example), will print only the last three lines to stdout. Is there an equivalent, or similar method for doing the exact ...
voices's user avatar
  • 1,342
1 vote
1 answer
533 views

What's the best way to trim the massive disclaimer from the end of the whois output? It looks something like this: >>> Last update of WHOIS database: 2017-01-30T20:17:39Z <<< ...
voices's user avatar
  • 1,342
1 vote
3 answers
12k views

How to input text into a new text file using nano from command line? I would like the same as with the following, but using nano: echo 'Hello, world.' >foo.txt Result: nano is not capable of ...
klor's user avatar
  • 436
0 votes
2 answers
3k views

I have a *.sh script that's missing the shebang from the first line. Can I fix it with sed?
voices's user avatar
  • 1,342
0 votes
1 answer
647 views

I have a command, but I want to get the results into a .txt file I can open. How do I alter my command to allow the results to be put into a text file. I plan to transfer this .txt file to my local ...
Jonathan's user avatar
  • 103
6 votes
1 answer
1k views

I use od to print me the octal or hex of a file/stdin/string. This lets me see the ASCII, or UTF-8 encoded, values of my stdin. But we don't live in ASCIIland anymore. Is there any command that will ...
Amandasaurus's user avatar
  • 1,336