
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.
login - How to switch between users on one terminal? - Unix & Linux ...
Oct 27, 2010 · To switch the terminal session to a different user, where that user can't exit back into the original user, use exec: $|# exec su - [username] This will technically login the new user in a new …
What does "--" (double dash / double hyphen) mean? - Unix & Linux …
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") arguments are …
command line - How do I set time and date from the Internet? - Unix ...
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 systemd, you …
How to check OS and version using a Linux command
What is the Linux command to check the server OS and its version? I am connected to the server using shell.
command line - What does the ./ mean (dot slash) in linux? - Unix ...
Oct 11, 2017 · The dot-slash, ./, is a relative path to something in the current directory. The dot is the current directory and the slash is a path delimiter. When you give the command touch ./a you say …
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 - How to check password with Linux? - Unix & Linux …
I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow (I need this to authenticate web users. I'm running an embedded linux...
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 indicate one …
command line - Zip all files in directory? - Unix & Linux Stack Exchange
Is there a way to zip all files in a given directory with the zip command? I've heard of using *.*, but I want it to work for extensionless files, too.