Questions tagged [text]

Text typically refers to a string of human-readable characters.

367 questions
282
votes
4 answers

Any way to search for text within nano?

Nano is the editor I use in command prompts. When I open a large file I would like to search for some text (think Ctrl + F). Is there a way to do this?
JD Isaacks
  • 5,497
101
votes
5 answers

Why does "ps aux | grep x" give better results than "pgrep x"?

I've just tried the following command on my Ubuntu, it doesn't show a thing: pgrep php5 shouldn't it return the process ID of php5 (which the following command just does)?: ps aux | grep php5 So, what's the difference between these two commands?
xczzhh
  • 2,205
100
votes
7 answers

Selecting text in the terminal without using the mouse

I am about to press enter to run a command in terminal, but before doing that, I want to copy the command to clipboard without using the mouse. How? If you're somewhere other than the terminal, Ctrl+Home does it. Is there a way of arbitrarily…
Strapakowsky
  • 12,304
79
votes
7 answers

Is there a text mode browser which supports javascript?

I need to configure my router remotely, and links etc won't work because the router config page uses javascript and refuses to run without it. Obviously, shame on netgear for being this crap, but is there a text mode browser that will allow their…
51
votes
7 answers

Search text within multiple pdfs and docs

I got a bunch of notes written by other students, but they are from an old textbook that didn't deal with everything in the same order, so I need to search through the notes for every chapter (each individual chapter is in a different .pdf or .doc)…
Rabbit
  • 792
45
votes
8 answers

How can I encode and decode percent-encoded strings on the command line?

How can I encode and decode percent-encoded (URL encoded) strings on the command line? I'm looking for a solution that can do this: $ percent-encode "ændrük" %C3%A6ndr%C3%BCk $ percent-decode "%C3%A6ndr%C3%BCk" ændrük
ændrük
  • 78,496
38
votes
7 answers

How to copy/paste text without formatting by default?

I'm running Ubuntu 10.04 and I find it annoying that by default the copy/paste functionality also pastes the text format. Most of the time when I copy/paste text I only want to paste the ascii text without any formatting. Is there a way to configure…
jmbouffard
  • 1,085
36
votes
4 answers

How do I boot into true text mode?

I've found ways to disable gdm or lightdm or whatever 11.10 uses, but I can't find a way to get a true text-mode boot. I want to see all the kernel messages fly by as it boots, not a stupid purple screen. I got the desktop manager turned off…
35
votes
4 answers

Is there Split Pane support in Gedit?

I know some other text editors like Notepad++ enable split pane to edit to files side by side. Is there any way I can add this functionality to Gedit?
jumpnett
  • 6,185
33
votes
5 answers

Add words to a text file using a single terminal command (no editors)

I'm new to Linux. I need to edit a .conf file from the open terminal only and not using any text editors. That is, can I add words and sentences to a config file from an open terminal? Example: command /home/.../file.conf -add 'abcd' to the 23rd…
26
votes
5 answers

How to convert all pdf files to text (within a folder) with one command?

I know that I can convert pdf files to text files one by one like this : $ pdftotext filename.pdf But is there a single command that would make that conversion without specifying separate file names so as to convert them all? I see here, on…
user47206
26
votes
6 answers

When creating a new text file, should I add a .txt extension to its name?

When I create a new document aimed at containing only plain text, I am not obliged by Ubuntu to add a .txt extension to its name. It works indeed very well: gedit opens it without problem, understanding very well that it is only text. The only two…
Agmenor
  • 16,394
22
votes
5 answers

Is there any way to create a simple txt file without opening the terminal?

Is there any way to create a text file without using the terminal at all?
18
votes
4 answers

Generate mp3 file from espeak

I'd like to convert an text file to an mp3 file using espeak. Is it possible to do this? I'm trying to use espeak to create a song synthesis shell script that can convert text to a song.
17
votes
4 answers

text highlighting (select to copy) stopped working in the terminal

I have a weird effect in one workstation: suddenly, the system does not allow me to copy text from a terminal to paste it somewhere else by simpling selecting it. I can still paste into the terminal the text that I select in other windows. The…
Arabarra
  • 171
1
2 3
24 25