
login - How to switch between users on one terminal? - Unix
Oct 27, 2010 · I'd like to log in as a different user without logging out of the current one (on the same terminal). How do I do that?
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.
command line - How do I set time and date from the Internet?
How do I retrieve the date from the Internet and set my computer's clock, from the command line?
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 …
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") …
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 …
How do you time how long a command took to run? [duplicate]
How would you find out how long a running process took to complete? Example: date; dd bs=1m if=/foo of=bar; date ^This example only has 1 second of resolution. Any shell is acceptable.
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).
vi - How go to line N? - Unix & Linux Stack Exchange
Jan 25, 2024 · 133 To make vi start at a particular line in a file, add +line_num to the command you use to start vi. Replace line_num with the line number, for example: vi +14 file.py You can …
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?