answersLogoWhite

0

What is the command in Linux to see the groups of a user?

Updated: 8/17/2019
User Avatar

Wiki User

15y ago

Best Answer

groups username

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the command in Linux to see the groups of a user?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can it is possible the more than one same user in who command in Linux?

If you're asking if it's possible to see more than one user in the who command, the answer is yes. The entire purpose of the command is to track logged in users. Now, the question is whether the permissions allow you to see other users or not.


What command prompt would you use in Linux to see filesystems in use?

mount


What command change the permission r rx x of file shokeenda in Linux?

chmod but only if you are root, or logged in as the user and group shown when you do ls -l shokeenda See man chmod for its usage


What is ifconfig?

"ifconfig" is a command found in most *NIX operating systems (think UNIX, Linux, BSD, etc...). it's equivalent in Windows is "ipconfig". it is a command you call from the shell (not the graphical user interface) that allows you see/set IP configurations for a specific interface.


How do you automate a command in Linux?

Use the cron jobs See /etc/cron.daily /etc/cron.weekly /etc/cron.hourly /etc/crontab and the command crontab


What is the use of the whoami command in Linux?

To see what user you are logged in as. Not all shells will display the username you are logged in under, so it is useful to know if you are a normal user (so you don't have to worry about accidentally destroying your system), or root (so you don't screw up your personal files by modifying them as root).


When one enters the who command in Linux what information does one see?

The basic 'who' command lets you see the time of last system boot; list of users logged-in; the current run level, etc.


How to change password by command prompt?

Answer--CD\ CD windows\system32net userE.g.> net user asks mypa$$wordIf there are people near you and you don't want them to see the password you type, enter:net user *E.g. > net user asks *> Type a password for the user:> Confirm the password:


How do you find out your IP address?

if you are running a windows o.s you use the ipconfig command in the command prompt if its a linux machine you use ifconfig command in the terminal If you want to know the IP address that websites see when you visit them, see the related links section for a resource on that.


How could you check to see if a user account is already present on a Linux system?

$ cat /etc/passwd | grep username


Which command is issued to display a statement to the monitor in Linux?

The command 'echo' followed by the text you wish to display will do the trick. If it's a long statement, however, you could put it in a text file somewhere and use 'cat /path/to/file'. For this to work, however, you need to make sure that you set the permissions of the file so that the user who needs to see its contents can do so. 'chmod a +r /path/to/file/' allows any user to read it.


What is the first process get started when the operating system is loaded?

Well it depends what software you have if it is windows the you will see a Windows asking for activation or user and password set up. In Linux it will be user login.