🔹 ARTH - Task 1.4🔹

🔹 ARTH - Task 1.4🔹

TASK 1.4

Task Description 📄

📌 Explore date command and with options and try to use every option and create a simple document for it.

DATE(1)                          User Commands      

NAME
       date - print or set the system date and time


SYNOPSIS
       date [OPTION]... [+FORMAT]
       date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]


DESCRIPTION
       Display the current time in the given FORMAT, or set the system date.


       Mandatory  arguments  to  long  options are mandatory for short options
       too.


       -d, --date=STRING
              display time described by STRING, not 'now'


       --debug
              annotate the parsed date, and warn about questionable  usage  to
              stderr


       -f, --file=DATEFILE
              like --date; once for each line of DATEFILE


       -I[FMT], --iso-8601[=FMT]
              output  date/time  in ISO 8601 format.  FMT='date' for date only (the default), 'hours', 'minutes', 'seconds', or 'ns'  for  date and time to    the indicated  precision. Example: 2006-08-14T02:34:56-06:00


       -R, --rfc-email
              output date and time in RFC 5322 format.Example: Mon,  14  Aug  2006 02:34:56 -0600

)
        


FORMAT controls the output.  Interpreted sequences are


       %%     a literal %


       %a     locale's abbreviated weekday name (e.g., Sun)


       %A     locale's full weekday name (e.g., Sunday)


       %b     locale's abbreviated month name (e.g., Jan)


       %B     locale's full month name (e.g., January)


       %c     locale's date and time (e.g., Thu Mar  3 23:05:25 2005)


       %C     century; like %Y, except omit last two digits (e.g., 20)


       %d     day of month (e.g., 01)


       %D     date; same as %m/%d/%y


       %e     day of month, space padded; same as %_d


       %F     full date; same as %Y-%m-%d


       %g     last two digits of year of ISO week number (see %G)


       %G     year of ISO week number (see %V); normally useful only with %V


       %h     same as %b


       %H     hour (00..23)


       %I     hour (01..12)


       %j     day of year (001..366)

By default, date  pads  numeric  fields  with  zeroes.   The  following
optional flags may follow '%':


       -      (hyphen) do not pad the field


       _      (underscore) pad with spaces


       0      (zero) pad with zeros


       ^      use upper case if possible


       #      use opposite case if possible



        

Here are some of the performed options -

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image


To view or add a comment, sign in

More articles by Parth S.

  • Mastering QuickBooks OAuth 2.0 Refresh Token Flow in Salesforce: A Complete Guide

    🚀 Introduction In any modern Salesforce integration, token-based authentication is a common security…

  • KUBERNETES IN LIFE

    What is Kubernetes? Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and…

    1 Comment
  • 🔹 ARTH - Task 1.5🔹

    Task-1.5 Task Description 📄 📌 Find out different Fun commands like sl, cowway etc.

  • 🔹 ARTH - Task 1.3🔹

    Task Description 📄 Explore Ram and find and show that if we store 5 in variable X i.e.

  • 🔹 ARTH - Task 1 🔹

    Task Description 1.2 📄 📌 Explore espeak-ng options INFO ESPEAK-NG                  NAME        espeak-ng - A…

  • 🔹 ARTH - Task 1 🔹

    Task Description1.1 📄 📌 Create a blog/article/video/document about explaining various options for zenity with output…

  • K-Mean Clustering and Its Real Use case in the Security Domain

    In this post, we’re going to dive deep into one of the most influential unsupervised learning algorithms - k-means…

  • JAVASCRIPT AS A POWERFULL TOOL

    What is JavaScript JavaScript (js) is a light-weight object-oriented programming language which is used by several…

    2 Comments
  • JAVA SCRIPT WORKSHOP BY VIMAL DAGA SIR

    HELLO! Connections I hope so you are doing well. i attended the 2 days workshop by world record holder VIMAL DAGA sir.

  • CONFUSION MATRIX AND CYBER SECURITY

    What is Confusion Matrix? A confusion matrix is a performance measurement technique for Machine learning…

Others also viewed

Explore content categories