×


Blog


Listing Users in Linux - How to do it ?

This article will guide you on the different methods to list down all the Linux system users. To know whether a particular user is having sudo access or not, we can use -l and -U options together. For example, If the user has sudo access, it will print the level of #sudo access for that particular user. 

If the user don't have sudo access, it will print that user is not allowed to run sudo on localhost.

To change users in #Linux:

The su command lets you switch the current user to any other user. 

If you need to run a command as a different (non-root) user, use the –l [username] option to specify the user account. 

Additionally, su can also be used to change to a different shell interpreter on the fly.


Ways to Shutdown CentOS 8

This article will guide you on different ways to shut down CentOS system. Using either of the above-discussed command line or GUI way, you can easily shutdown your #CentOS system.

To shut down the system from a terminal session, sign in or "su" to the "root" account. Then type ``/sbin/shutdown -r now''. 

It may take several moments for all processes to be terminated, and then Linux will shut down.

In #Unix and #Linux, the shutdown command can be used to turn off or reboot a computer. Only the superuser can shut the system down. 

One commonly issued form of this command is shutdown -h now , which will shut down a system immediately. 

Another one is shutdown -r now to reboot.


Ways to Find Your IP address in Ubuntu 20.04 LTS

This article will guide you on how to check your private IP address in #Ubuntu 20.04 LTS system. 

ifconfig command is used to display or configure a network interface.

To use command prompt (CMD) to find my #IP #address:

1. Open the command prompt: if you have a Start menu in your Windows system, open it and type cmd into the search bar.

2. Type ipconfig into the command prompt (or the Run box).

3. Find your IP address within the text that pops up.

You can also use the following commands will get you the private IP address of your interfaces:

i. ifconfig -a.

ii. ip addr (ip a)

iii. hostname -I | awk '{print $1}'

iv. nmcli -p device show.


Step by step process to install and use Steam on Ubuntu 20.04 LTS ?

This article will guide you on how to #install and get started with Steam on Ubuntu 20.04 LTS. Steam on Linux made it easier for various hardcore gamers to switch to #Linux from Windows or #Mac for professional reasons.

Ubuntu is the best OS for developers because of the various libraries, examples, and tutorials. These features of ubuntu help considerably with AI, ML, and DL, unlike any other OS. 

Furthermore, Ubuntu also provides reasonable support for the latest versions of free open source software and platforms.

To Install #Steam from Ubuntu package #repository:

1. Confirm that the multiverse Ubuntu repository is enabled: $ sudo add-apt-repository multiverse $ sudo apt update.

2. Install Steam package: $ sudo apt install steam.

Use your desktop menu to start Steam or alternatively execute the following command: $ steam.


To play steam on #Linux:

i. To get started, click the Steam menu at the top-left of the main Steam window, and select 'Settings' from the dropdown. 

ii. Then click 'Steam Play' on the left side, make sure the the box that says 'Enable Steam Play for supported titles' is checked, and check the box for 'Enable Steam Play for all other titles'.


Shutter Screenshot Tool on Ubuntu 20.04 LTS - Step by step process to install and use it ?

This article will guide you on methods to install and use the Shutter screenshot tool on Ubuntu 20.04. Once installed on your #Ubuntu Server , you can conveniently use it to take the screenshots as per your requirements and can even edit them if needed.

#Shutter is a screenshot tool in Ubuntu #Linux. Using Shutter we can take a screenshot of a specific area, window and whole screen.

Shutter allows you to capture nearly anything on your screen without loosing control over your screenshots (tabbed interface). 

Features of Shutter:

1. Capture a Specific Area

This allows you to select an arbitrary region of your screen and capture only those parts you really need. The screen can be zoomed and the selection can be resized or moved.

2. Capture your Desktop

Shutter does not only capture all the contents of your desktop (or workspace) – it also supports Multi-monitor settings, e.g. capture the active monitor

3. Capture a Window

Simply use your mouse to select the window you want to capture. Shutter will highlight the currently select window in an attractive and useful way. It is even possible to simply select a window from a list and capture it right a way.

4. Capture a Menu or Tooltip

Capturing menus or tooltips is very easy with Shutter. You select one of the options and a (user-defined) countdown starts. During this time you can open the desired menu or let a specific tooltip come up. Shutter will recognize and capture it.

5. Capture a Website

Shutter uses gnome-web-photo to capture a website without opening a browser window


Different methods to check memory usage in Debian 10 ?

This article will guide you on methods to check the #memory usage in #Debian 10. You can easily visualize from the way these methods have been explained that they are so simple and easy to carry out. 

Therefore, you can find out the available and used memory in Debian 10 at any time you want without any hassle.

Swap space in Linux is used when the amount of physical memory (#RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space.

To kill a process in Linux:

1. View Running #Linux #Processes.

2. Locate the Process to #Kill. Locate a Process with ps Command. Finding the PID with pgrep or pidof.

3. Use Kill Command Options to Terminate a Process. killall Command. pkill Command.

4. Key Takeaways on Terminating a Linux Process.