Remove a Linux user

You can remove old users from your Linux server. This will revoke the user’s SSH access, and remove that user’s file and directory owner

Remove the user

  1. Log in to your server via SSH.
  2. Switch to the root user:
    sudo su –
  3. Use the userdel command to remove the old user:
    userdel user’s username
  4. Optional: You can also delete that user’s home directory and mail spool by using the -r flag with the command:
    userdel -r user’s username

Posted in command line of linux, My Linux | Comments Off on Remove a Linux user

Oil Available Viscosity Grades 10w-40

What does 5W-30 actually mean

Not all of us get to service our own cars. In fact, most of us don’t even know what is under the hood of our car, let alone the type of oil that is in our engine. That’s what car service centres and mechanics are there for right?

But what if you find yourself in a position where you need to buy and put in the oil yourself? How do you know which oil to use and how do you read the label? What does SAE 5W-30 mean?

The short answer:
The numbers represent the viscosity of the oil and the W stands for WINTER.

The long answer:
The Society of Automotive Engineers (SAE) has established a numerical code system for grading motor oils according to their viscosity characteristics. Because the viscosity of oil changes with temperature, multigrade oils were developed to provide protection across a range of temperatures. This is why you would see something like this on the label: SAE 5W-30.

In a 5W-30 for example, the number before the W describes the viscosity of the oil at low temperatures. The lower the number, the thinner the oil and the better the oil’s cold temperature/ cold start performance. The number after the W describes how thick the oil is at the engine’s normal operating temperature.

X0344_Endurox-XLF-SAE-10W40-5L-V.png

Multigrade oils such as SAE 5W-30 and 10W-40 are widely used because, under all but extremely hot or cold conditions, they are thin enough to flow at low temperatures and thick enough to perform satisfactorily at high temperatures. In other words, the choice of viscosity would be different depending on whether you are living in Finland (0W/ 5W-30) or Nigeria (5W/10W/15W40 or even 20W50).

Please note that vehicle requirements may vary so consult your car’s handbook for the correct viscosity grade.

SAE_Viscocity.png
Posted in Chosen Solution | Comments Off on Oil Available Viscosity Grades 10w-40

reboot DELL switches from command line

reload

Posted in DELL | Comments Off on reboot DELL switches from command line

password reset and wipe out startup-config DELL 5424

using putty with COM1 –> serial setting 9600 8 1 none none –> keyboard set ControlH and check VT100+

start up DELL 5424 –> hit ‘enter’ before switch load –> hit the key ‘password change’ –> then enable –> delete ‘startup-config’ –> reload –> switch 5424 become default

Posted in DELL | Comments Off on password reset and wipe out startup-config DELL 5424

How do I unzip a zip file in Terminal?

  1. Open a terminal ( Ctrl + Alt + T should work).
  2. Now create a temporary folder to extract the file: mkdir temp_for_zip_extract .
  3. Let’s now extract the zip file into that folder: unzip /path/to/file.zip -d temp_for_zip_extract

sample here –> root@host: unzip test.zip -d /var/www/folder-to-extract

Posted in command line of linux, My Linux | Comments Off on How do I unzip a zip file in Terminal?