Fájlokban található bájtok, szavak és sorok számlálása
Elöfordulhat hogy tudni akarjuk egy fájl hány sorból ál, vagy hány karakterből. Sok eszköz áll rendelkezésünkre, de most a wc paranccsal fogjuk ezeket megszámolni. A rosszul hangzó nevével ellentétbe ez egy jó kis program :-).
A wc program bájtok, szavak és újsor-jelek számát számolja meg az argumentumként megadott fájlokban. Ha nem adunk meg fájlnevet, illetve a fájlnévként a `-' jelet adjuk meg, akkor a szabványos bemenet olvassa a program.
Felhasználása: wc [OPCIÓ] [FÁJL]
-c, --bytes
kiírja a byte-ok számát
-m, --chars
kiírja a karakterek számát
-l, --lines
kiírja a új sorok számát
-L, --max-line-length
kiírja a leghosszabb sor számát
-w, --words
kiírja a szavak számát
Megvan a fájlunk aminek a karakter számát akarjuk tudni: pytest.py
wc pytest.py --chars
170 pytest.py
Vagy megszámoljuk hány sor és szó van a fájlba:
wc -l -w pytest.py
11 20 pytest.py
Hozzászólások
Hibiszkus (nem ellenőrzött)
cs, 01/31/2013 - 09:13
Permalink
egy kis hiba
"Vagy megszámoljuk hány sort és hány szavat írtunk a fájlba"-a hiba ugye az hogy szavat írtál szó helyett.
Tisztelettel!
Köszönöm ezt a rengeteg sok linuxos okosságot!
linuxadmin
szo, 02/16/2013 - 19:56
Permalink
Köszönöm
Köszönöm a figyelmeztetést. Javítottam a hibát.
j p (nem ellenőrzött)
k, 09/30/2014 - 20:53
Permalink
klassz
zsírkőkemény, köszi,
Anonymous (nem ellenőrzött)
k, 03/22/2016 - 06:25
Permalink
Új hozzászólás | linux.valodi.info
Hi there would you mind letting me know which webhost you're utilizing?
I've loaded your blog in 3 different browsers and I must say this blog loads a lot quicker then most.
Can you recommend a good internet hosting provider at a fair price?
Cheers, I appreciate it!
Feel free to surf to my web page; Karly Chihak
Ptickdiose (nem ellenőrzött)
cs, 12/01/2016 - 14:09
Permalink
Propecia 10
Female Viagra Online Australia How Is Amoxil Used Can Amoxicillin Stain Teeth cialis Cialis Tadalafil Cheapest Online Generic Cialis Discover Come Assumere Priligy Propecia Resultados Achat Cialis Moins Cher viagra Shipped Ups Fluoxetine Online Cheap Can I Buy Levitra At Walgreens Canadian Pharmacy Viagra Viagra Da Banco Cialis Cialis Ou Levitra kamagra eu Buy Cialis Usa Valtrex For Sale In The Uk Pastillas Cialis Y Alcohol Cheapest Viagra Overnight Shipping viagra Is Generic Levitra Safe Kamagra Oral Jelly Results Propecia Reverse Hair Miniaturization Temples cialis online Generika Viagra Gut
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:21
Permalink
Új hozzászólás | linux.valodi.info
I have read so many articles about the blogger lovers
except this paragraph is truly a good article, keep it up.
My web blog; Gregorio
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:22
Permalink
Új hozzászólás | linux.valodi.info
Thanks for finally talking about > Új hozzászólás | linux.valodi.info < Loved it!
Have a look at my page: Overcoming Seborrheic Dermatitis and Hair
Loss: A Personal Journey and Treatment Recommendations
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:26
Permalink
Új hozzászólás | linux.valodi.info
I don't even know how I ended up here, but I thought this post
was good. I don't know who you are but definitely you're
going to a famous blogger if you aren't already
;) Cheers!
Here is my webpage :: Современный макияж: Модный макияж в 2023 году
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:26
Permalink
Új hozzászólás | linux.valodi.info
fantastic put up, very informative. I wonder why the opposite
specialists of this sector don't understand this. You should proceed your writing.
I am confident, you've a great readers' base already!
My blog post ... Noreen
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:49
Permalink
Új hozzászólás | linux.valodi.info
Greetings! This is my first visit to your blog! We are a
collection of volunteers and starting a new project in a community in the same niche.
Your blog provided us beneficial information to work on. You have done a marvellous job!
Look at my blog post :: The Ultimate Guide to Passive Income: Save Big with Omaha Steaks Coupon Codes: A Guide to Finding Discounts on Gourmet Meats
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:49
Permalink
Új hozzászólás | linux.valodi.info
Excellent website you have here but I was wanting to know
if you knew of any discussion boards that cover
the same topics talked about in this article? I'd really like to be
a part of online community where I can get opinions from other knowledgeable people that
share the same interest. If you have any recommendations, please let me
know. Thanks!
Also visit my blog - Boost Your Website's SEO and Increase Traffic with GPT Cash Machine
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 08:55
Permalink
Új hozzászólás | linux.valodi.info
Great items from you, man. I've be aware your stuff previous to and you are simply too wonderful.
I really like what you have got right here, really like what
you are saying and the best way during which you are saying it.
You make it entertaining and you still care for to keep it sensible.
I cant wait to read much more from you. This is really a wonderful
website.
Look at my web page; Swen
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 09:00
Permalink
Új hozzászólás | linux.valodi.info
I've been surfing online more than three hours today,
yet I never found any interesting article like yours.
It is pretty worth enough for me. In my view, if all web
owners and bloggers made good content as you did, the
internet will be much more useful than ever before.
My site; The Ultimate Guide to Passive Income: How to Make Fast Income with Affiliate Marketing Programs
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 11:26
Permalink
Új hozzászólás | linux.valodi.info
Wow that was odd. I just wrote an extremely long comment but after I clicked
submit my comment didn't show up. Grrrr... well I'm
not writing all that over again. Regardless, just wanted to say excellent blog!
Feel free to visit my website: Прогон по Свежим Базам Xrumer
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 11:26
Permalink
Új hozzászólás | linux.valodi.info
Hi! This is my first visit to your blog! We are a team of
volunteers and starting a new initiative in a community in the same
niche. Your blog provided us useful information to work on. You have done a
extraordinary job!
Have a look at my blog post ... зарубежные партнерки
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 11:29
Permalink
Új hozzászólás | linux.valodi.info
Hi to every one, the contents existing at this website are in fact awesome for people knowledge, well, keep up the good work fellows.
Here is my web site; Larry
Anonymous (nem ellenőrzött)
h, 04/03/2023 - 11:29
Permalink
Új hozzászólás | linux.valodi.info
I visited many sites however the audio feature for audio songs current
at this web site is truly fabulous.
Also visit my web blog :: Nature's Prescription: Overcoming Divorce Stress and Anxiety: Natural Remedies and Techniques for Women
idazawiy (nem ellenőrzött)
h, 09/24/2018 - 04:40
Permalink
Opiqabaqanevu
bGludXgudmFsb2RpLmluZm8# ivacoz-a.anchor.com [URL=http://ivacoz-u.com/]ivacoz-u.anchor.com[/URL] http://ivacoz-t.com/ http://ivacoz-t.com/ http://ivacoz-t.com/ http://ivacoz-t.com/ http://ivacoz-t.com/ http://ivacoz-t.com/ http://ivacoz-t.com/ http://ivacoz-t.com/ ucejabety
ufohucd (nem ellenőrzött)
h, 09/24/2018 - 05:16
Permalink
Ojuxaweyijobe
bGludXgudmFsb2RpLmluZm8# opofome-a.anchor.com [URL=http://opofome-u.com/]opofome-u.anchor.com[/URL] http://opofome-t.com/ http://opofome-t.com/ http://opofome-t.com/ http://opofome-t.com/ http://opofome-t.com/ http://opofome-t.com/ http://opofome-t.com/ http://opofome-t.com/ ouhababu
Anonymous (nem ellenőrzött)
k, 08/23/2022 - 10:23
Permalink
It's a good chance to know
It's a good chance to know more about these stories, very interesting and meaningful. And please take a look at this site, where I find the all the information I need about celeb net worth
Új hozzászólás