
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 …
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 …
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 & 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 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 get the s...
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?
How do I zip/unzip on the unix command line?
Jan 28, 2011 · The corresponding gunzip and bunzip2 commands can be used to uncompress said archive, or you can just use flags on the tar command to perform the uncompression. If you are …
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 …
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.