Posts

FREE 50 Linux Interview Questions and Answers for Beginner Level

Desclainer: Please note that the answers to these questions are correct to my knowledge. Please feel free to comment if you find any incorrect answers. Your feedback is most welcome.   What does the ‘&&’ operator do in a command? a. Runs the second command if the first one fails. b. Runs the second command regardless of the first one. c. Runs the second command only if the first one is successful.   Ans. Runs the second command only if the first one is successful.   What does the ‘ ps ’ command do? a. Shows process status. b. Shows disk usage. c. Shows CPU usage.   Ans. Shows process status.   What is the command to list all the files in a directory, including hidden files? a.  ls -a   b.  ls -h   c.  ls -l     Ans.  ls -a   What does the ‘ df ’ command do? a. Shows disk usage. b. Shows directory files. c. Shows disk format.   Ans. Shows disk usage.   What does the ‘ whoami ’ command do? a. Display t...

How to copy screenshot to clipboard in New Apple Mac OS

If you have upgraded your Apple Mac OS to 14.x.x, then you may find it strange that the screenshots are not copied into the clipboard. The screenshots taken are saved to Desktop by default. And also it appears on the bottom right corner for a few seconds so that you can click on that copy image.  But that is annoying! You find it very inconvenient to click on multiple times to copy the screenshot you just took.  However, there is a built-in option to copy the screenshot into the clipboard, so that you can paste it anywhere you want.  To copy the screenshot into the clipboard press hold the Control key also along with COMMND and SHIFT.  COMMAND + SHIFT + CONTROL + 3   To take a screenshot of the full screen and copy the screenshot into Clipboard.  COMMAND + SHIFT + CONTROL + 4   To enable drag and drop then take a screenshot of the selected portion and copy the screenshot into Clipboard.     

Apple MacBook Notes strike through Menu option and Setting Keyboard shortcut.

Image
Apple Notes is the probably most widely used App for taking notes on Apple MacBook or Apple Mac in general. In this tutorial, I will show you how to set a keyboard shortcut for Strike Through.  Even the menu navigation is not easily accessible. You have to reach the 2nd  level of the menu item. And If you are coming from a Windows background, it will even be tricky to find the option in the menu.  First of all the strike thought option is available Under Format -> Fonts.  To make it handier, you can set a keyboard shortcut so that, if you are using Notes more often, then it will be very useful.  Follow these steps to set a keyboard short to strike through in the Mac. It is limited to only the Notes App.  Go to System Preferences , and select Keyboard . Then select Shortcuts Tab  Then select App Shortcuts  in the left-hand side pane. Then click on the '+' Icon at the bottom center of the menu.  The new dialog appears. S...