Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

get date installation os

Linux:
fs=$(df / | tail -1 | cut -f1 -d' ') && tune2fs -l $fs | grep 'Filesystem created'
stat / | grep -E "(Birth|Creación)"

Windows:
systeminfo | find /i "Fecha"
Comment

os installation date

sudo ls -alct /|tail -1|awk '{print $6, $7, $8}'
Comment

PREVIOUS NEXT
Code Example
Shell :: linux find and remove bom from files 
Shell :: mac install gensim 
Shell :: debian install iwconfig 
Shell :: recursively change file permissions linux 
Shell :: gitlab login on terminal 
Shell :: github push code from one repo to another 
Shell :: scp linux 
Shell :: install tar.xz on linux 
Shell :: copy first n files linux 
Shell :: use github.com/stretchr/testify/assert 
Shell :: command to create an react app 
Shell :: how to kill running process in linux 
Shell :: mac tftp server directory 
Shell :: Install JDK on Rocky Linux 8 
Shell :: ubuntu googls drive setup 
Shell :: chnage localhost folder xampp on ubuntu 
Shell :: mikrotik reboot bash sintakx 
Shell :: open jar file with command prompt 
Shell :: bash how to print the list of files in a directory 
Shell :: search for a filetype extension PowerShell 
Shell :: install ssms on ubuntu 18.04 
Shell :: aws ssh warning unprotected private key file 
Shell :: command to create a new branch in git 
Shell :: list threads in process ubuntu 
Shell :: how to use git 
Shell :: change git repository commmand 
Shell :: boolean in shell script 
Shell :: pull down a branch locally 
Shell :: nc http server 
Shell :: git delete origin branch 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =