• Home
Code gist
Tips and tricks I bump into my path

linux

  • linux

Current date and time in bash script

Publicado en 13/11/201902/05/2020por jmsanchez

In Linux shell script you can use date command to get the current Date and time.This command is part of the Linux coreutils package. Basic date command uses Formatted date output For more information about date command you can see man pages.

Leer más
Sin comentarios aún
  • command
  • ...
    • linux

Linux environment variables

Publicado en 03/05/201618/05/2020por jmsanchez

You can use any one of the following command to display environment variables and their values using bash shell. printenv print all or part of environment variables env print all exported environment or run a program in a modified environment set print the name and value of each shell variable export to set environment variables […]

Leer más
Sin comentarios aún
Activello Tema por Colorlib Funciona con WordPress