8. Mediante la orden grep cuenta el número de líneas que contienen el patrón “Pass” en el fichero usuarios.txt.
grep -c "Pass" usuarios.txt
All generations.
grep -c "Pass" usuarios.txt
mkdir -p Usuarios/Administradores/RedLocal
// function that: hazme una variable llamada pin que sea 12345 y que te pida el pin para entrar
mkdir -p Usuarios/Administradores/RedLocal
int opcion;
switch (opcion) {
case 1:
consultarSaldo();
break;
case 2:
retirarDinero();
break;
case 3:
depositarDinero();
break;
case 4:
transferirDinero();
break;
case 5:
verHistorialActividades();
break;
case 6:
System.out.println("Gracias por utilizar nuestro servicio.");
return;
default:
System.out.println("Opción no válida. Inténtelo de nuevo.");
break;
}
find / -name '*.gif'
public class App {
public static void main(String[] args) throws Exception {
System.out.println("|BANCO DC|");
while (true) {
System.out.println("\nMenú principal");
System.out.println("1. Consultar saldo");
System.out.println("2. Retirar dinero");
System.out.println("3. Depositar dinero");
System.out.println("4. Transferir dinero");
System.out.println("5. Ver historial de actividades");
System.out.println("6. Salir");
System.out.print("Seleccione una opción: ");
Scanner scanner = new Scanner(System.in);
int opcion = scanner.nextInt();
switch (opcion) {
case 1:
consultarSaldo();
break;
case 2:
retirarDinero();
break;
case 3:
more .
echo "hola mundo" > hola_mundo.txt
ls -laS /etc
sort -r usuarios.txt
ls -la | grep HTTP
ls -l | tr -s " " | cut -d " " -f9
ls -l /etc | sort -k 5
ls /etc -R
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description