
Linux: set date through command line - Unix & Linux Stack Exchange
Mar 23, 2016 · I used the date command and time format listed below to successfully set the date from the terminal shell command performed on Android Things which uses the Linux Kernal.
What does "--" (double dash / double hyphen) mean? - Unix
More precisely, a double dash (--) is used in most Bash built-in commands and many other commands to signify the end of command options, after which only positional ("non-option") …
command line - How do I set time and date from the Internet?
Firstly, if you want to change your timezone you can use: sudo dpkg-reconfigure tzdata To update the time and date from the internet on a Linux distribution that uses a modern version of …
How can I display the contents of a text file on the command line?
Oct 11, 2016 · I would like to display the contents of a text file on the command line. The file only contains 5-6 characters. Is there an easy way to do this?
command line - Unix & Linux Stack Exchange
How do I convert an epoch timestamp to a human readable format on the cli? I think there's a way to do it with date but the syntax eludes me (other ways welcome).
How can I verify SSL certificates on the command line?
Jul 7, 2011 · The command shows a condensed version of SSL certificate details as two lines. The two lines are equivalent to one certificate file within your chain. From the two lines that …
Shell Syntax: How to correctly use - Unix & Linux Stack Exchange
May 6, 2016 · Therefore, the following works without a backslash, as you can't end a command with a &&: echo 1 && echo 2 Here, you need the backslash: echo 1 2 3 \ 4 or echo 1 \ && echo …
How do I zip/unzip on the unix command line? - Unix & Linux …
Jan 28, 2011 · How can I create and extract zip archives from the command line?
How do I get the size of a directory on the command line?
Feb 20, 2015 · I tried to obtain the size of a directory (containing directories and sub directories) by using the ls command with option l. It seems to work for files (ls -l file name), but if I try to …
How to list disks, partitions and filesystems in Linux?
In Windows, if you type LIST DISK using DiskPart in a command prompt it lists all physical storage devices, plus their size, format, etc. What is the equivalent of this in Linux?