↧
Linux Set Date and Time From a Command Prompt
How can I set the system date and time from the command prompt (bash shell)? I don’t have GUI installed and I am login over ssh session. How can I set date under Linux operating systems? Use the date...
View ArticleLinux Shell Date format
Task: Display date in mm-dd-yy format Type the command as follows: $ date +"%m-%d-%y" Output: 02-27-07 Turn on 4 digit year display: $ date +"%m-%d-%Y" Just display date as mm/dd/yy format: $ date...
View Article