Enhance the Synology DiskStation command prompt Leave a reply The code snippet below adds a username, hostname and cwd (current working directory) to your prompt on the DiskStation: PS1="`whoami`@`hostname | sed 's/\..*//'`:\w" case `id -u` in 0) PS1="${PS1}# ";; *) PS1="${PS1}$ ";; esac