answersLogoWhite

0

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).

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Which Linux command displays your login name?

The whoami command.


How can you tell if you are logged on as the Linux administrator account while at the command prompt?

With the whoami command.


How can you find out what user you are logged in as in Linux?

The "whoami" command should show you what account you are currently using.


Which command dispalys the users who are currently logged in to the Linux system?

Open a terminal (short-cut key combination: Ctrl + Alt + T) and type a lower-case w and press enter. You can also use whoor whoami with differing results.


Where can one gain more information about how to use the Linux terminal?

At the command prompt, type 'man [command]' (removing the brackets and substituting the command for which you need information).


What command in Linux do you use to copy files?

cp.


To move to the root directory use the command?

For Unix/Linux, use the command 'cd /' For Windows, you can also use the same command or 'cd \'


What does the k command do in Linux?

k is not a standard command in Linux.


What command do you use to rename the old system file instead of copying it?

For Linux, use the 'mv' command, which is a rename


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

mount


How do you use less command in Linux?

Viewing a file:"less [filename]"viewing the standard output of a command:"[command] | less"


What does the c99 command do in Linux?

The c99 command is a wrapper program that actually calls 'cc'. This is the standard c compiler for Linux. Since other Unix based systems use a c99 command to call the compiler with the 1999 standards there is a similar command to do the same thing under Linux.