#!/bin/bash
if [ $# -eq 1 ]
then
echo "file log: $1 - num of occurrences: "
grep -w "string to grep" $1 | wc -l
else
echo "no args specified: insert a file name"
fi
Iscriviti a:
Commenti sul post (Atom)
Run minikube with podman on Fedora
After install minikube as described in the documentation , set rootless property to true to use Podman without sudo: minikube config set roo...
-
Precondizione: La precondizione di un metodo e' una condizione che deve essere verificata prima che quel metodo sia invocato. Le preco...
-
My intent is to configure SSO on Keycloak and Liferay. I have createad a docker-compose environment with Keycloak: #####################...
Nessun commento:
Posta un commento