Viewing 1 item
Archive | history RSS feed for this section

history

history

Executing simple history command from terminal will show you a complete list of last executed commands with line numbers. [narad@tecmint ~]$ history 1 PS1=’\e[1;35m[\u@\h \w]\$ \e[m ‘ 2 PS1=”\e[0;32m[\u@\h \W]\$ \e[m ” 3 PS1=”\u@\h:\w [\j]\$ ” 4 ping google.com 5 echo $PS1 6 tail -f /var/log/messages 7 tail -f /var/log/messages 8 exit 9 clear 10  Full Article…

0