6 lines
112 B
Text
6 lines
112 B
Text
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
IFS=$'\n\t'
|
||
|
LOGINSHELL=`getent passwd $USER | cut -d: -f7`
|
||
|
echo \"${LOGINSHELL}\"
|