Bash alias

#1

Is there a way to implement bash alias (or something like that) in CoreElec?
I use often ssh and it would help me a lot to have something like alias for a long command sequences.

#2

Put them in /storage/.profile.

#3

It works!

Thank you for your quick reply.

1 Like
#4

I use a bunch of aliases, things like dir=ls -a and I also like to customize the PS1 prompt, took me a while to figure it out since I’m used to regular desktop Linux. With CE the home directory is /storage with a login of root. The shell is the busybox version of tsh so there’s some differences there from bash.