Questions tagged [text]
Text typically refers to a string of human-readable characters.
358
questions
1
vote
1
answer
60
views
check a condition for match string in for loop
I have a text file and wrote a bash script to loop over every line of it and if its 6th column match a condition I want to modify its line.
How can I match it condition that if 6th = string?
My bash:
#...
0
votes
1
answer
39
views
find a number after a special character and multiply it by awk
I have a file:
"UDP", "x", 12880, "any", "any", x, 0.0.0.0/0, 0.0.0.0/0, {85000, drop, -1, fast+dsample:1000}, {1m, alert, -1, none}
How can I change 85000 ...
1
vote
1
answer
33
views
How can I maintain the original creation date or crtime of .txt files I create?
I take a lot of notes in plain .txt files that I write in the default text editor and it is very useful for me. There is only one thing missing to make my "workflow" perfect. I would really ...
0
votes
1
answer
22
views
Compare two files and remove every line that doesn't match with file B
I have two files. file A:
Modern Tales: Age Of Invention Playstation 4, 1935, 3478-3480
Modern Tales: Age Of Invention Xbox One, 3074
Moero Chronicle Switch, 6667, 12400, 28910, 29900, 29901, 29920
...
0
votes
2
answers
70
views
script to compare two files and remove match line in file A
I have two files.
file A:
Modern Tales: Age Of Invention Playstation 4, 1935, 3478-3480
Modern Tales: Age Of Invention Xbox One, 3074
Moero Chronicle Switch, 6667, 12400, 28910, 29900, 29901, 29920
...
7
votes
3
answers
1k
views
How can I have Ubuntu display the output of a commad in the login screen on Ubuntu Server?
I've found this question, but it talks about a version of Ubuntu with a GUI. I'm referring to Ubuntu Server, so no GUI. I've also found this question, but it doesn't look like it will display the ...
0
votes
0
answers
89
views
Opening and Using NotePad like program from the Ubuntu command line in WSL (Windows)
I really want to start using Linux, especially Ubuntu distro systems because I hear such great things about them and the fact that it very community based, which I really love.
Anyway, is there a ...
0
votes
0
answers
56
views
Unable to edit shared text file between virtualbox Ubuntu 20.04 VM and Windows 11 host
I created a shared folder that I will be editing from my virtual machine. The issue is that it's impossible to edit it from Ubuntu VM while it can be edited from windows host. The file content can't ...
0
votes
1
answer
226
views
Text is blurry ubuntu 22.04
So i recently switched to ubuntu. Everything works good and i love it! But there is a one problem that's been driving me crazy. The text is not sharp on my external monitor(27 inch 1920 x 1080) but ...
0
votes
0
answers
45
views
Sometimes when I type text in a text box of a web page opened with Chrome it gets written from right to left - Ubuntu 22.04
I have an Ubuntu 22.04 OS running in a Virtualbox virtual machine, and the host OS is windows 10.
Sometimes, when I type text in a text box of a web page opened with Chrome (for example in the search ...
1
vote
1
answer
2k
views
How to configure Ubuntu 22.04 to boot in console/text mode only and have a 80 column x 25 row screen
How to configure Ubuntu 22.04 to boot in console/text mode only and have an 80-column x 25-row full screen? This is for a legacy application
Running:
sudo systemctl set-default multi-user.target does ...
2
votes
0
answers
195
views
Ubuntu text is randomly corrupted
From time to time all the text in my Ubuntu Desktop menus gets corrupted. The text inside the applications is OK, but it looks like all, or most, of the text related to Gnome is corrupted.
This ...
2
votes
1
answer
665
views
Trying to install Ubuntu 22.04 on an older PC
I am trying to install Ubuntu 22.04 LTS on an old Dell Studio XPS 7100. I created a bootable USB via Rufus, and when it loads, the text is all screwy.
I've read that I need to set the quiet splash to ...
0
votes
0
answers
60
views
Boot into text mode as root in 18.04
As of 16.04, and probably with the introduction of systemd, the "text" kernel parameter in grub no longer works, and I should use "3" (for runlevel 3) instead. This, however, still ...
0
votes
0
answers
697
views
Searching text from a list in another file
Is there a grep-like program for Ubuntu that can search a text file, or batch of text files in a folder, for any occurances of words in another text file or a list like a csv file or an ods file or ...
1
vote
0
answers
172
views
How to add dictionary lookup option to text selection in Ubuntu 22.04
I tried to look for some leads to add this option to Ubuntu 22.04 but couldn't find anything.
I found a tutorial that worked on Ubuntu 18.04. But it was only a walk through on how to add a custom ...
0
votes
1
answer
743
views
How can I change directory text color in C shell?
I want to change directory color in cshell. So I copied /etc/DIR_COLORS file to my ~$home and named .dir_colors. I modified that file but it doesnt change the text color. If I source that file then ...
1
vote
1
answer
3k
views
sed: -e expression #1, char 32: unterminated `s' command
I have a text file that has many groupid = []. I wan't to edit the specific line which is 41, How can I do it?
My command: sed -i "s/groupid = []/groupid = [ 2 ]/" rights.toml
I have tried:
...
1
vote
1
answer
79
views
Moving the non-cursor end of the text highlight
I know of the shortcut Shift + left arrow/right arrow to extend/retract the text selection, but it moves only at the cursor. Is there a way to move the "tail" of the highlight in the same ...
0
votes
0
answers
58
views
opening a .css file throws me an error
Opening this file: https://drive.google.com/file/d/1W47IfvZ_FiGhZgwnUlmgQHA5_4FFZvRc/view gives me this error and it won't let me edit it:
The file you opened contains some invalid characters. ...
0
votes
1
answer
516
views
Bash Script: Comparing two text files
I am wondering how I can do this efficiently.
Given two files, say a.txt and b.txt, I want to write a bash script to do the following:
Every line in a.txt containing '*' that does not exist in b.txt ...
0
votes
1
answer
690
views
cat : Do not read stdin if no input file is given on the command line
I have a script that concatenates files with cat. It contains roughly the following line that hangs the script in reading the standard input if the directory contains no files:
cat /path/to/dir/* > ...
-4
votes
1
answer
421
views
How to convert text to csv from linux?
azureuser@puppetagent-ubuntu1:/tmp$ cat /bin/user_activity.sh
#!/bin/bash
echo `last` > /tmp/login_history.txt
I'm tracking user data in linux through the "last" command so I'm appending ...
0
votes
1
answer
274
views
How to increase size of user interface of browser in ubuntu 20.04?
I want to increase the size of text along with links and tabs in my browser of Ubuntu 20.04 . I want it to be as in Windows Browser. Here it is very difficult to see without stretching my eyes.
0
votes
1
answer
169
views
gnome-tweaks fontsize increase does not work with non-system apps
I need to increase the font-size of my OS and everything else in general (Ubuntu 20.04 gnome). When I do this using gnome-tweaks, it works for things like nautilus and some other gnome apps but not ...
2
votes
2
answers
861
views
How do I increase the text size in an app on ubuntu 18.04?
I had to re-download the Brackets text editor amongst a few other apps but when I open it up the text in the menu, buttons in the app text in the app itself are really small, I think there's a command ...
0
votes
0
answers
20
views
How to download a text editor on xubuntu? [duplicate]
Should I install my text editor from the ubuntu software store or download it manually? And how do I download it manually?
3
votes
1
answer
2k
views
Opening this file in nano shows peculiar red area
I have a simple text file. When I open it with nano, there is a red area covering space in front of some of the text. I have never seen this:
What can I do about this?
0
votes
0
answers
39
views
Terminal based text scaling / How to get rid of accessibility icon in top bar?
Looking for a solution to use text scaling without using the accessibility feature I came across this solution. However, this also uses accessibility, but I want no accessibility icon. How may I ...
0
votes
0
answers
21
views
Ubuntu 20.04 server ting text on 1440 screen
I use a new 1440 gaming monitor for a Windows desktop but also feed in 2x Ubuntu servers and one Debian server (no GUIs on any of them) through a 4K KVM switch. The text on the three Linux devices is ...
0
votes
1
answer
408
views
How do you reinstall Ubuntu after deleting python3.6? [duplicate]
I recently made the stupid mistake of uninstalling python3.6 because I upgraded to python 3.9, not knowing how important python is for Ubuntu.
I got signed out automatically and when I tried to sign ...
0
votes
0
answers
176
views
Unable to view text files on putty using the less command
After invoking the less command in putty,it keeps on returning that the text file is a directory without showing the text in the directory.
Actual command: less file_name
ls -l gives -rw-r--r-- l
0
votes
3
answers
995
views
Ubuntu 20.04 only shows half text
Ubuntu is only showing half text in almost any program, title bars, menus, etc.
I tried setting font to large in accessibility, didn't work.
used fc-cache -r fc-cache -f and didn't work.
additional ...
1
vote
0
answers
115
views
Router login using Links2 webrowser for terminal
I can call up the router login page using the Links2 text based webrowser for terminal, and enter details but when I submit the form nothing happens... The router is TL-WR40N, the server is version 18....
0
votes
1
answer
38
views
speech marks around text file when referring it in the terminal
this is an ultra noob question. but I'm learning commands in the terminal and whenever I have to reference a text file in the terminal (which I made in the text editor), I have to put speech marks ...
0
votes
1
answer
471
views
Why my screenshot saved in text format?
I took a screenshot using shift + Print Screen Key. It is saved in the Pictures folder as a text document and couldn't view the image.
The extension is still .png but the image viewer couldn't open it....
1
vote
1
answer
352
views
Regolith - i3-wm - Background color of some text and some text colors messed up
I got Regolith-Ubuntu and I'm pretty satisfied so far. I could solve most of the issues, with the wide support including this site here. I wasn't sure, if this issue is right here or might be better ...
0
votes
1
answer
296
views
What is a .txt~ file and how can I open it?
I noticed a file with a .txt~ extension.
What does the ~ mean?
How can I open this file? It seems not to work with a text editor.
0
votes
1
answer
237
views
How to reinstate files from an rdfind (removes duplicates) summary text file
I have used rdfind to remove duplicate files. It produces a results.txt file. This shows the first of the duplicate files which it did not remove and then the list of all the duplicates that were ...
3
votes
2
answers
1k
views
How can we batch convert chess move files of .pgn file format to .bin file format?
Prologue: A .pgn format is type of text file format used for recording Chess moves with other information like date, event, score, opening, engine evaluation, variations, depth etc. This file format ...
2
votes
1
answer
1k
views
Mass/Batch renaming text files based on the first line (content) of the text file in Ubuntu 20.10?
I have 2015 files which are .pgn files. This is a form of text file only, opens with Notepad++. I am I want to mass rename these files replacing their name with the first line of the respective file ...
0
votes
0
answers
186
views
Simple note taking app on Ubuntu that allows markdown and copy paste of tables in spreadhseet format
(tag suggestions welcome)
I've been exploring note taking apps, including those listed here and here. Preference is a foss app. I installed Simplenote which seems nice but already does more than I ...
2
votes
0
answers
44
views
Open text file located at desktop [duplicate]
I have Ubuntu 20.04 and I have a text document file at my desktop. When I double click it, this error is displayed:
So I tried unchecking Allow executing file as a program.
This solved my issue, but ...
0
votes
2
answers
842
views
Open .txt in ubuntu 20.04 [duplicate]
Hello I have a dual boot system with Win10 and Ubuntu 20.04 and I want to open Windows notepad files(text document) in Ubuntu so how to open it?
1
vote
1
answer
991
views
Text in title bar buttons
This "NORMAL" text appears in the bar where the minimize and close buttons:
1
vote
1
answer
313
views
Zooming does not work in my text editors
Ctrl + + and Ctrl + - are not working in my text editors, e.g. vim, gedit and nano on Ubuntu 20.04.0. It works perfectly in browsers such as Chrome, Mozilla, etc.
2
votes
1
answer
631
views
I am looking for an application to transcribe audio to text
I am using Ubuntu 20.04 as the operating system and LibreOffice as the office suite.
Due to the tasks I perform, it would be useful to install a simple to use application that would allow me to play ...
0
votes
1
answer
223
views
How to edit text in specific tags in specified files to capitalize the content
Ubuntu 20.04 desktop
A directory contains files with different extensions.
Some of the files have the extension .nfo. They contain metadata about video files for the Kodi system.
These .nfo files ...
1
vote
1
answer
900
views
Typing/Text Cursor Thickness and Color
Using Ubuntu 20.04. When using LibreOffice Writer, the text/typing cursor (thin vertical line indicating the insertion point in the sentence) is very difficult to see.
How to make it:-
thicker ?
a ...
1
vote
1
answer
226
views
Can I give filenames an opaque background on the desktop? They are hard to read against a busy wallpaper pattern
In Ubuntu 20.10, it's hard to read the names of items on my desktop when I use a busy wallpaper background image. Can I change a setting or something to make the text blocks have an opaque background?