Tuesday, August 21, 2018
Friday, August 17, 2018
Which of the following RegEx character sets does the '\w' meta-character most closely represent in Perl-compatible Regular Expression implementations?
Which of the following RegEx character sets does the '\w' meta-character most closely represent in Perl-compatible Regular Expression implementations?
- [a-zA-Z0-9_]
- [a-zA-Z]
- [a-zA-Z0-9]
- [a-zA-Z_]
EXPLANATION
The "word" meta-character \w in RegEx will match the full alpha-numeric range, basically the full alphabet as well as number characters, and includes underscores.Note that it matches more alphabet characters than the standard a through z: pretty much any alphabet character, such as 'ñ', also match.
Thursday, August 16, 2018
What is the primary difference between LED and an LCD monitor?
What is the primary difference between LED and an LCD monitor?
- price
- Backlighting source
- Doesn't last as long as plasma displays
- screen size
EXPLANATION
LCDLCD is the abbreviation of Liquid Crystal display. There are two layers of glass in this technology that are joined together with liquid crystals in between. These crystals help pass or block the light. However, crystals do not produce any light and it comes through fluorescent lamps (CCFL) situated at the back of the screen.
LED
The technology in LED TV’s is much the same with the difference being the source of light at the back of the screen. Whereas it is CCFL in the case of LCD, there is Light emitting Diodes (LED’s) in the case of LED TV’s.
http://www.differencebetween.com/difference-between-lcd-and-vs-led-monitor/
http://www.diffen.com/difference/LCD_TV_vs_LED_TV
Where does Cryptolocker execute from on a Windows OS?
Where does Cryptolocker execute from on a Windows OS?
- Desktop
- C:\Programfiles
- C:\Windows\System32
- C:\Users\*User*\AppData\Local
EXPLANATION
Cryptolocker runs from App Data Local and starts locking each file from A to Z then works on mapped drives from A to Z.SOURCE
https://malwaretips.com/blogs/remove-cryptolocker-virus/Tuesday, August 14, 2018
Monday, August 13, 2018
What type of RAID is RAID 2?
What type of RAID is RAID 2?
- Byte-level striping with dedicated parity.
- A striped set from a series of mirrored drives.
- Block-level striping with dedicated parity.
- Bit-level striping with dedicated Hamming-code parity.
EXPLANATION
RAID 2RAID 2 consists of bit-level striping with dedicated Hamming-code parity. All disk spindle rotation is synchronized and data is striped such that each sequential bit is on a different drive. Hamming-code parity is calculated across corresponding bits and stored on at least one parity drive. This level is of historical significance only; although it was used on some early machines (for example, the Thinking Machines CM-2), as of 2014 it is not used by any commercially available system.
RAID 2
SOURCE
https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_2Friday, August 10, 2018
In Linux system, which command will print the output of log file in reverse ?
In Linux system, which command will print the output of log file in reverse ?
- less
- cat
- tac
- rcs
EXPLANATION
Let's assume that we have a log file named "Letters" that contains: A B C D (in separate lines).To view the content of the log file in Linux terminal, the command will be:
linux@machine:~$ sudo cat LettersAnd we will get the output:
A
B
C
D
To view the content of the log file in reverse, the command will be:
linux@machine:~$ sudo tac LettersAnd we will get the output:
D
C
B
A