13 lines
121 B
Bash
Executable File
13 lines
121 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Prints USER@hostname
|
|
|
|
PREFIX=' '
|
|
|
|
get_hostname()
|
|
{
|
|
echo "$PREFIX$USER@$(hostname)"
|
|
}
|
|
|
|
get_hostname
|