IT Questions and Answers :)

Thursday, January 21, 2021

How do you search for text using the Nano text editor?

How do you search for text using the Nano text editor?

  • Control + F
  • Control + W
  • Control + O
  • Control + S

EXPLANATION

Rather than using 'F' for 'find' Nano uses 'W' for 'Where Is'.

SOURCE

https://wiki.gentoo.org/wiki/Nano/Basics_Guide
Share:

Wednesday, January 20, 2021

Microsoft's HoloLens is what type of device?

Microsoft's HoloLens is what type of device?

Augmented reality
Machine learning
Virtual reality
Mixed reality 
 
 
Microsoft's HoloLens is what type of device?

EXPLANATION

Mixed reality (MR) not just overlays, but anchors virtual objects to real-world objects and allows the user to interact with combined virtual/real objects.

  • Virtual reality (VR) immerses users in a fully artificial digital environment.
  •   Augmented reality (AR) overlays virtual objects on the real-world environment with spatial registration that enables geometric persistence concerning placement and orientation within the real world. Prior technologies that overlaid data or images not spatially registered to real-world geometries are referred to as heads-up display technologies.

SOURCE

https://en.wikipedia.org/wiki/Mixed_reality
Share:

Tuesday, January 19, 2021

You can view all running processes on a computer in PowerShell with what command?

You can view all running processes on a computer in PowerShell with what command?

  • Get-Process
  • Show-Process
  • Gimme-Dem-Processes
  • List-Process 

 
You can view all running processes on a computer in PowerShell with what command?

EXPLANATION

The command Get-Process shows all current running processes. You can pipe the output into other commands to get even more detail and information.

Share:

Tuesday, January 12, 2021

In our Linux machine, we've found an issue, maybe some driver is not loaded properly during the boot process, how can we be sure?

In our Linux machine, we've found an issue, maybe some driver is not loaded properly during the boot process, how can we be sure?

  • init 6 command
  • whoami command
  • dmesg command
  • w command 

 
In our Linux machine, we've found an issue, maybe some driver is not loaded properly during the boot process, how can we be sure?

EXPLANATION

dmesg (Display message or driver message) is a command which will show Kernel ring buffers. These messages contain valuable information about device drivers loaded into the kernel at the time of booting as well as when we connect a hardware to the system on the fly. In other words dmesg will give us details about hardware drivers connected to, disconnected from a machine and any errors when hardware driver is loaded into the kernel. These messages are helpful in diagnosing or debugging hardware and device driver issues

SOURCE

https://www.linuxnix.com/what-is-linuxunix-dmesg-command-and-how-to-use-it/

 

Share:

Monday, January 11, 2021

When programming in Python 3, which code has the right syntax?

When programming in Python 3, which code has the right syntax?

  • print("Hello, World")
  • print("Hello, World')
  • print("Hello, World"
  • print (Hello, World) 
 

EXPLANATION

Syntax errors are a the most common problem when programming.  For basic programming, an open bracket is required for any parameters to be passed to a function, and strings (text) requires quotes to distinguish itself from any variables in the code.  

SOURCE

https://medium.com/groklearning/syntax-error-how-to-avoid-the-most-common-trap-for-new-programmers-1424472c3e57
Share:

Popular Posts