forum-informatico
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.
Ajude a Asast
Patrocinadores
Últimos assuntos
» Artigo ethereum
Count number of lines in all files existing EmptyTer Set 24, 2019 1:16 pm por jpmartins

» Artigo Bitcoin
Count number of lines in all files existing EmptyTer Set 24, 2019 1:13 pm por jpmartins

» Novo site para desportistas / New site for athletes
Count number of lines in all files existing EmptyTer Dez 04, 2018 8:19 am por Admin

» Check used port with the command line
Count number of lines in all files existing EmptyTer Dez 04, 2018 8:10 am por Admin

» Check the port where mariaDB is running
Count number of lines in all files existing EmptySeg Dez 03, 2018 4:59 am por Admin

» Check the linux version
Count number of lines in all files existing EmptySeg Dez 03, 2018 3:12 am por Admin

» Granting rights to a database for a user
Count number of lines in all files existing EmptyQui Nov 29, 2018 2:04 am por Admin

» Create new user
Count number of lines in all files existing EmptyQui Nov 29, 2018 2:01 am por Admin

» Change level of password security level
Count number of lines in all files existing EmptyQui Nov 29, 2018 1:59 am por Admin

AdSense
Contributo

Count number of lines in all files existing

Ir para baixo

Count number of lines in all files existing Empty Count number of lines in all files existing

Mensagem  Admin Qui Jun 28, 2018 4:53 am

Here is how we can count the number of lines existing in all files of a certain type in the current directory. The example shows the total number of lines existing in all css files (including sub directories).

Código:
find . -name '*.css' | xargs wc -l
Admin
Admin
Admin

Mensagens : 607
Data de inscrição : 21/01/2008
Idade : 47

https://forum-informatico.forumeiros.com

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos