Skip to main content

All Questions

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

I've got a bunch of text files and pdfs in a directory. If I enter evince *.pdf ..all the pdfs open up in separate windows, I do this quite often. When I enter cat *.txt ..was pleasantly surprised ...
cardamom's user avatar
  • 704
1 vote
1 answer
2k views

i'am on parrot OS, after a forced restart my mate-terminal begun showing text from bashrc every time it started, after a "clear" it goes away and the prompt is properly colored and ...
Ar Angelina's user avatar
0 votes
5 answers
638 views

Let me take you to this short trip: Open terminal. Type cat <any text file in your current working directory, containing a URL, at the beginning> | head The first 10 lines of that text file are ...
futurewave's user avatar
0 votes
2 answers
605 views

I have the following line of text, and I would need to extract a few of the fields from the JSON part of the line of text. June 27th 1997, 10:11:52.621 {"serviceId":"00034","...
SRash's user avatar
  • 111
1 vote
2 answers
779 views

I have a .txt file with the following data structure: Scan Times: 33.3 seconds 77.4 seconds 33.3 seconds 77.4 seconds Check Times: 110.30 seconds 72.99 seconds 72.16 seconds 110.30 seconds ...
palacetrading's user avatar
2 votes
3 answers
2k views

I'm working to debug some kind of issue with the Nix Linux installer script on Debian-based OSs Like what was said here, this snippet of the /etc/bash.bashrc: # If not running interactively, don't do ...
Nicolas Formichella's user avatar
0 votes
2 answers
144 views

I'm quite new into bash and awk in bash scripting and from this text that I have in a file: "Index", "Year", "Age", "Name", "Movie" 1, 1928, 44, "...
4F0X4's user avatar
  • 101
-1 votes
2 answers
420 views

I've got a text file of the form id="111"ABC id="222"DEF id="333"GHJ where the count of numbers within "" varies as well as the numbers vary. Furthermore, ABC, ...
X3nion's user avatar
  • 143
0 votes
1 answer
1k views

I want to convert all text files in a directory to one csv file. I want the input to the csv to be the text in the text file labeled by the author of the text file found in the filename. For reference,...
Myth's user avatar
  • 35
-1 votes
4 answers
82k views

I am new to linux and I have a quick question for opening text files using my terminal. I tried many times to open a text file using commands such as xdg-open <location> ./filename and none ...
Armen Mkrtumyan's user avatar
0 votes
1 answer
66 views

I have a .txt file which I cat into another .txt file. The last line of the original file (final.txt) ends with "lats =" and then by applying cat, the numbers below "lats =" are added, as shown ...
Maria Chara Karypidou's user avatar
0 votes
3 answers
147 views

I have a list of .txt files in a folder and I would like to delete the last 50 lines (whole lines) IF they contain letter characters. So far I have the following: for i in *.txt do max_line=$(cat ${i%...
Maria Chara Karypidou's user avatar
-3 votes
3 answers
100 views

How can I delete the lines from a file containing the character 'H'? The file contains the following column: H1 N1 H2 C1 H3 H4 C2 H5 H6 N2 H7 C3 H8 H9 C4 H10 H11 N3 H12 C5 H13 H14 C6 H15 H16 Desired ...
Dimitris Mintis's user avatar
-1 votes
1 answer
68 views

after I had download youtube videos with youtube-dl -cit -f 140 ' , I forget to download the .description as well... so I have bunch of files without description, I want to redownload the description ...
user avatar
0 votes
1 answer
605 views

I need to search files in directory with specific pattern (for example foobar) and replace them with foobarXXX, where XXX is a number. For example, there were two original file snt130.txt My ...
Loom's user avatar
  • 4,083

15 30 50 per page