10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Good evening, need your help please
Need to delete certain files before octobre 1 2016, so need to know how many files im going to delete, for instance
ls -lrt file_20160*.lis!wc -l
but using grep -c to another file called bplist which contains the list of all files backed up doesn match... (7 Replies)
Discussion started by: alexcol
7 Replies
2. Shell Programming and Scripting
Hi
I have strings like these :
Vengeance mitt
Men Vengeance gloves
Women Quatro Windstopper Etip gloves
Quatro Windstopper Etip gloves
Girls Thermobite hooded jacket
Thermobite Triclimate snow jacket
Boys Thermobite Triclimate snow jacket
and I would like to get the lower case words at... (2 Replies)
Discussion started by: louisJ
2 Replies
3. Shell Programming and Scripting
Hi ,
I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (1 Reply)
Discussion started by: jmarx
1 Replies
4. Shell Programming and Scripting
hi every one i have written this simple shell for counting number of word that user need to find from file
but i have get several error when run it. can someone tell me the problem ?
echo "Enter the file name"
read file
echo "enter word"
read word
for i in \`cat $file`
do
if
then... (1 Reply)
Discussion started by: nimafire
1 Replies
5. Shell Programming and Scripting
Hi, I have file like this:
>number1
dlejreoreltedgerere
dgtrtryr
>number2
dkfdjlgdjfeiflefjdfidlfjdifelfjefe
fjdlfjdkfjdlfdjlfdjlfjdigeo
gjelreoureofouererg
>number4
dklfdjfoeueoruer
fjeorueotueoirueorueorueore
gjoeoueorueoreuroerueor
joeuroerueorue
How can i know how many words... (4 Replies)
Discussion started by: the_simpsons
4 Replies
6. Shell Programming and Scripting
File 1
aaa
bbb
ccc
File 2
aaa
xxx
zzz
bbb
File 3
aaa
bbb
xxx
Output: (4 Replies)
Discussion started by: Misa-Misa
4 Replies
7. Shell Programming and Scripting
Hi All,
I have some 6000 text files in a directory. My files are named like 1.txt, 2.txt 3.txt and so on until 6000.txt. I want to count the "number of words" in only first 3000 of them. Any suggestions?
I know wc -w can count the number of words in a text file. I am using Red Hat Linux. (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
8. Shell Programming and Scripting
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Discussion started by: alex83
3 Replies
9. Shell Programming and Scripting
ile1
Beckham
Ronaldo
file2
Beckham Beckham_human
Ronaldo Ronaldo_spain
Ronaldo Ronaldo_brazil
Beckham Beckham_manch
Zidane Zidane_Fran
Rooney Rooney_Eng
Output shud be (1 Reply)
Discussion started by: cdfd123
1 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
I always found help for my problems using the search option, but this time my request is too specific. I have two files that I want to compare. File1 is the index and File2 contains the data:
File1:
chr1 protein_coding exon 500 600 . + . gene_id "20532";... (0 Replies)
Discussion started by: DerSeb
0 Replies