answersLogoWhite

0


Best Answer

There are many ways to do this:

whoami

id

echo $USER

echo $LOGNAME

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Unix command to display your login name on the screen?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a UNIX command to display the current date in the form ddmmyyyy?

UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma


What is the Command to display the default shell in unix?

There isn't a concept of a 'default' shell in Unix; you may have a login shell specified by the system administrator for use when you log in. Although it isn't a fool-proof way to find your shell, you could use the command: echo $SHELL or use the 'finger' command to see what your default login shell environment is. You could also 'grep' for your information in the password file because the last field is your login environment shell.


How do you change the root shell in unix?

Your login shell can be changed by using the chsh or ypchsh command.


Which command is used to get out of unix environment?

Typically the 'exit' command gets you out of the current shell environment you are in; if this is the login shell then you will be logged out of the system.


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.


What command displays the time on most Linux and Unix computer?

The time command is used to time a command and not display the actual time. To display the time and date, the date command must be used.


What is the Unix command to display the filesizes of a directory?

Once your in the directory you have to type the following: du -a


Record your login session into a file in UNIX?

Use the 'script' command; it captures everything you are doing and stores it into a file.


What is the function of CLS in dos command?

The command CLS clears the screen and resets the location of the command prompt to the top of the screen. This is similar to the Unix command clear.


What command will display files starting from z in unix?

Use the command: ls z* for those files in your current working directory.


What should be the command to display your name that is jolly das in the form of a banner in unix?

well the answer is banner command eg. $banner jolly good


What is the difference between unix command and dos command?

They are different languages, so you need to use a different word with different syntax to do the same thing. For example, to display the contents of the current directory, the command in MS-DOS is dir, but in UNIX it's ls.