FAQs
- What's the easiest way to tell if my Linux system is 32-bit or 64-bit?
You can simply use the following.
lscpu | grep -i architecture
lscpu
- What command should you run to see the computer name and Linux version?
If you want what brand of computer you use along with other information. Remember, you need to have sudo password for this.
sudo dmidecode | grep -A3 '^System Information'
For Linux Version.
hostnamectl | grep -i "Operating System"
OR,
cat /proc/sys/kernel/hostname
- Which keyboard command will delete the text from the cursor to the beginning of the line on Linux?
Command Terminal :
- Ctrl + u : delete from cursor to the start of the command line
Some more useful commands
- Ctrl + k : delete from cursor to the end of the command line
- Ctrl + w : delete from cursor to start of word. To delete backwards one word
- Ctrl + y : paste word or text that was cut using one of the deletion shortcuts.