blob: 2527b378585e6675243e5541a00b2f12094124f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# Prints the effective username of the current user
PREFIX=''
get_username()
{
USERNAME=$(whoami)
echo "$PREFIX $USERNAME"
}
get_username
|