IT Questions and Answers :)

Monday, January 25, 2021

Which of the following is NOT in the same subnet as the other 3

Which of the following is NOT in the same subnet as the other 3

  • 10.27.9.14/29
  • 10.27.9.16/29
  • 10.27.9.20/29
  • 10.27.9.18/29 

 Which of the following is NOT in the same subnet as the other 3


EXPLANATION

In IP v4. The range is from 10.27.9.16 to 10.27.9.23 with a 29 bit subnet mask. 255.255.255.248

Giving a total of 8 hosts on the sunbet, although only 6 are usable.

SOURCE

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

Friday, January 22, 2021

In macOS, what are the default numeric file permissions on a user home folder; /Users/username/?

In macOS, what are the default numeric file permissions on a user home folder; /Users/username/?

  • 755
  • 777
  • 775
  • 733 

In macOS, what are the default numeric file permissions on a user home folder; /Users/username/?

EXPLANATION

By default, the permissions on a home folder are drwxr-xr-x or 755. This allows other users on the system access to the top level of the the home folder so that they can access the Public and Sites folders to read or send files to the owner. The main other folders (Desktop, Documents, etc) are locked to drwx------ so that only the owner has access.

SOURCE

http://www.macinstruct.com/node/415

 

Share:

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