Share to: share facebook share twitter share wa share telegram print page

Wc (Unix)

wc este o comandă din sistemul de operare UNIX; provine de la expresia engleză word count (în traducere: număr de cuvinte). Comanda citește intrarea standard sau o listă de fișiere și generează următoarele statistici: numărul de caractere, numărul de linii și numărul de cuvinte.

Sintaxă

wc [opțiuni] fișiere

Câteva opțiuni des folosite ale comenzii:

-l afișează numărul de linii
-c afișează numărul de octeți
-m afișează numărul de caractere
-w afișează numărul de cuvinte
-L afișează lungimea celei mai lungi linii

Versiunile mai noi ale comenzii fac o diferență între numărul de octeți și numărul de caractere. Diferența se datorează standardului Unicode.

Versiunea GNU a comenzii făcea parte din pachetul GNU textutils package; a fost mutată în GNU coreutils.

Exemple

$ wc foo bar
     40     149     947 foo
   2294   16638   97724 bar
   2334   16787   98671 total

În prima coloană este afișat numărul de linii, în a doua coloană numărul de cuvinte, iar în a treia numărul de caractere. Statisticile sunt afișate pentru fiecare caracter în parte. De asemenea este afișat și un total.

Vezi și

 v  d  m  Programe în linia de comandă pentru Unix (mai multe)
Management de fișiere: cat | cd | chmod | chown | chgrp | cksum | cmp | cp | du | df | file | fsck | ln | ls | lsof | mkdir | mount | mv | pwd | rm | rmdir | split | touch
Management de procese: at | chroot | cron | exit | kill | killall | nice | pgrep | pidof | pkill | ps | pstree | sleep | time | top | wait
Management utilizator/mediu: env | finger | id | mesg | passwd | su | sudo | uname | uptime | w | wall | who | whoami | write
Procesare text: awk | comm | cut | ed | ex | fmt | head | iconv | join | less | more | paste | sed | sort | tac | tail | tr | uniq | wc | xargs
Programare Shell: basename | echo | expr | false | printf | test | true | unset Imprimare:
lp
Communicații:
inetd | netstat | ping | rlogin | traceroute
Căutare:
find | grep | strings
Diverse:
banner | bc | cal | dd | man | size | yes

Legături externe

Read other articles:

Уровень безработицы в США с 1910 по 1960 год: период Великой депрессии, 1929—1939, выделен Рецессия в США (англ. Recession of 1937–1938; также «рецессия Рузвельта» или «рузвельтовская рецессия»[1], англ. Roosevelt Recession) — экономический спад, произошедший в США во время Великой депрес

 

Turkmen diaspora living mainly in northern and northeastern regions of Iran Iranian Turkmensایران تۆرکمنلریEýran türkmenleriTurkmens of Bandar-e Torkaman, IranTotal population500,000 - 1,000,000[1]790,000 - 1,600,000[2][3]1–2.4 million[4]1-2% of the total populationRegions with significant populationsGolestan Province, Razavi Khorasan Province and North Khorasan ProvinceLanguagesTurkmen, PersianReligionSunni Islam Iranian Turkmens (Persian: تر

 

تحتاج هذه المقالة إلى الاستشهاد بمصادر إضافية لتحسين وثوقيتها. فضلاً ساهم في تطوير هذه المقالة بإضافة استشهادات من مصادر موثوقة. من الممكن التشكيك بالمعلومات غير المنسوبة إلى مصدر وإزالتها. قناة الأهلي شعار قناة الأهلي معلومات عامة المالك النادي الاهلي المصري تاريخ التأ�...

Klassenzeichen Bootsmaße Länge üA: 8,95 m Breite üA: 1,90 m Tiefgang: 1,20 m Gewicht (segelfertig): 1700 kg Gewicht (Ballast, Kiel): 1000–1020 kg Segelfläche Segelfläche am Wind: 27,7 m² Großsegel: 16 m² Genua: 11,7 m² Spinnaker: 23,6 m² Sonstiges Takelungsart: Slup Yardstickzahl: 107[1] Klasse: international Riss Drachen Drachen ist der Name einer Bootsklasse, die 1929 von dem Norweger Johan Anker als preiswert...

 

У Вікіпедії є статті про інші значення цього терміна: Церква Святої Великомучениці Параскеви П'ятниці. Церква Параскеви П'ятниці 49°07′39″ пн. ш. 29°57′14″ сх. д. / 49.12750° пн. ш. 29.95389° сх. д. / 49.12750; 29.95389Координати: 49°07′39″ пн. ш. 29°57′14″ сх....

 

Thurmansbang Lambang kebesaranLetak Thurmansbang NegaraJermanNegara bagianBayernWilayahNiederbayernKreisFreyung-GrafenauMunicipal assoc.Thurmansbang Pemerintahan • MayorMartin Behringer (Freie Wählergemeinschaft)Luas • Total32,95 km2 (1,272 sq mi)Ketinggian494 m (1,621 ft)Populasi (2013-12-31)[1] • Total2.357 • Kepadatan0,72/km2 (1,9/sq mi)Zona waktuWET/WMPET (UTC+1/+2)Kode pos94169Kode area telepon085...

Commune in Île-de-France, FranceAubergenvilleCommuneThe church in Aubergenville Coat of armsLocation of Aubergenville AubergenvilleShow map of FranceAubergenvilleShow map of Île-de-France (region)Coordinates: 48°57′32″N 1°51′18″E / 48.959°N 1.855°E / 48.959; 1.855CountryFranceRegionÎle-de-FranceDepartmentYvelinesArrondissementMantes-la-JolieCantonAubergenvilleIntercommunalityCU Grand Paris Seine OiseGovernment • Mayor (2020–2026) Gilles...

 

Nagasasra dan Sabukinten PengarangSinggih Hadi MintardjaNegaraIndonesiaBahasaIndonesiaGenreRomanPenerbitBadan Penerbit ”Kedaulatan Rakyat” (Yogyakarta)Tanggal terbit1966Halaman16 jilid (32 jilid edisi 1991) Nagasasra dan Sabuk Inten adalah buku ceritera silat klasik karangan S.H. Mintardja.[1] Buku ini diterbitkan pertama kali oleh Badan Penerbit ”Kedaulatan Rakyat” Yogyakarta pada tahun 1966. Sebelumnya kisah ini muncul sebagai cerita bersambung dalam surat kabar Kedaula...

 

Mizar w Kruszynianach Mizar (zireć[potrzebny przypis]) – cmentarz muzułmański[1]. W Polsce W Polsce istnieje 7 mizarów: po dwa w Bohonikach i Warszawie oraz w Kruszynianach, Lebiedziewie i Studziance. Wydzielone kwatery muzułmańskie istnieją na Cmentarzach Komunalnych w Gdańsku, Trzciance, Wrocławiu, Poznaniu, Rybocicach k. Słubic oraz w Suwałkach. Nagrobki Mizary przeważnie usytuowane są na niewielkim wzniesieniu, zbudowane ściśle według zasad islamu dla tego t...

Beatriz của Tây Ban NhaBeatriz de EspañaThân vương phi xứ Civitella-Cesi Họa phẩm bởi Philip de László năm 1927Thông tin chungSinh(1909-06-22)22 tháng 6 năm 1909Cung điện Vương thất La Granja de San Ildefonso, Segovia, Tây Ban NhaMất22 tháng 11 năm 2002(2002-11-22) (93 tuổi)Palazzo Torlonia, Roma, ÝAn tángNghĩa trang Verano, Roma, ÝPhối ngẫuAlessandro Torlonia, Thân vương thứ 5 xứ Civitella-Cesi(cưới 1935⁠R...

 

Universitas Flinders Australia SelatanThe Flinders University of South AustraliaMotoInspirasi PrestasiJenisPublikDidirikan1966KanselirStephen Gerlach AMWakil KanselirMichael N BarberStaf akademik887Jumlah mahasiswa20.165LokasiAdelaide, Australia Selatan, Australia35°01′14.95″S 138°34′21.90″E / 35.0208194°S 138.5727500°E / -35.0208194; 138.5727500KampusPinggiran kotaOrganisasiIRU AustraliaSitus webwww.flinders.edu.au Lihat dari kampus utama Universitas Flind...

 

Maxi Rodríguez Maxi Rodríguez bersama Argentina pada tahun 2012Informasi pribadiNama lengkap Maximiliano Rubén Rodríguez[1]Tanggal lahir 2 Januari 1981 (umur 42)Tempat lahir Rosario, ArgentinaTinggi 180 cm (5 ft 11 in)Posisi bermain Winger, gelandang serangKarier senior*Tahun Tim Tampil (Gol)1999–2002 Newell's Old Boys 57 (20)2001 → Oviedo (pinjaman) 1 (0)2002–2005 Espanyol 111 (26)2005–2010 Atlético Madrid 121 (32)2010–2012 Liverpool 57 (15)2012–2...

French slalom canoeist (born 1988) Pierre PiccoPierre PiccoPersonal informationBorn (1988-10-17) 17 October 1988 (age 35)Toulouse, France Medal record Men's canoe slalom Representing  France World Championships 2010 Tacen C2 team 2014 Deep Creek Lake C2 team 2015 London C2 team 2014 Deep Creek Lake C2 2015 London C2 European Championships 2013 Kraków C2 team 2017 Tacen C2 2017 Tacen C2 team 2014 Vienna C2 team U23 European Championships 2010 Markkleeberg C2 2009 Liptovský Mikulá�...

 

Period of Iraqi history from 1958 to 1968 For other uses, see Iraqi Republic. Iraqi Republicالجمهورية العراقيةal-Jumhūrīyah al-'Irāqīyahكۆماری عێراقیKomar-î 'Êraqî1958–1968 Flag(1959–1963) Emblem(1959–1965) Anthem: Mawtini (1958–1965)(English: My Homeland) Walla Zaman Ya Selahy (1965–1968)(English: It has been a long time, oh my weapon!)Capitaland largest cityBaghdadCommon languagesArabic and KurdishReligion Islam, Christianity, Mandaeis...

 

              • 1989 → Elecciones europeas Fecha Miércoles, 10 de junio de 1987 Tipo elecciones al Parlamento Europeo en España Lugar España Cargos a elegir 60 eurodiputados para el período 1987-1989 Demografía electoral Hab. registrados 28,450,491 Votantes 19,071,497 Participación    68.52 % Resultados PSOE Votos 7,522,706   Escaños obtenidos 28  8    39.0...

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Beyond Good and Evil album – news · newspapers · books · scholar · JSTOR (November 2020) (Learn how and when to remove this template message) 2001 studio album by The CultBeyond Good and EvilStudio album by The CultReleased5 June 2001Recorded2000Ge...

 

2021 World Wonder Ring Stardom event Stardom 10th Anniversary ~Hinamatsuri All-Star Dream Cinderella~The official poster featuring a big part of the participantsPromotionWorld Wonder Ring StardomDateMarch 3, 2021CityTokyo, JapanVenueNippon BudokanAttendance3,318[1]Event chronology ← Previous10th Anniversary Show Next →Yokohama Dream Cinderella 2021 Stardom All Star Dream Cinderella (スターダムオールスタードリームシンデレラ, Sutādamu ōru sutā dorīm...

 

2017 film dir. Olivier Marchal You can help expand this article with text translated from the corresponding article in French. (March 2020) Click [show] for important translation instructions. View a machine-translated version of the French article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated...

Giambattista Bodoni Museum Bodoniano The Bodoni Museum of Parma is a museum dedicated to Giambattista Bodoni (1740–1813), situated in the Palazzo della Pilotta building on the premises of the Palatina Library.[1] The museum's treasure is composed of thousands of volumes, a rich correspondence and various typographic tools of Bodoni's Printing Office.[2] The collection dedicated to the history of the book, comprising both manuscripts and the printed editions, constitutes one ...

 

1955 diplomatic conference to resolve the Malayan Emergency This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: Baling Talks – news · newspapers · books · scholar · JSTOR (February 2011) Those involved in the talks, from left – David Marshall, Tunku Abdul Rahman & Tun Tan Cheng Lock. vteMalayan E...

 
Kembali kehalaman sebelumnya