shell user

I‘ve recently started to use FreeBSD operating system with tcsh (c shell clone) shell. I noticed that both set and setenv command set shell user environment. What’s the difference between the SET and SETENV commands?

{ 2 comments }

I am working on a shell script. I need to find out the current user name. How do I find out the current user name under Bash or Ksh shell running on Linux or Unix like operating systems?

{ 2 comments }

logname command

I am a new Linux and Unix system user. How do I find out the current login name on Linux or Unix-like operating system using command prompt?

{ 0 comments }

How do I auto Logout my shell user in Linux after certain minutes of inactivity?

{ 2 comments }