What's new

bash aliases

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Brainstorm

Regular Contributor
Good morning. I want to add some aliases to my ssh sessions, but I can't find where to put them. There must be a bashrc file, or equivalent, but I can't find it. Any helpwould be greatly appreciated.
 
The router doesn't have bash it has ash.

You'll need a custom firmware to add aliases. In Merlin you would add them to /jffs/configs/profile.add
 
The router doesn't have bash it has ash.

You'll need a custom firmware to add aliases. In Merlin you would add them to /jffs/configs/profile.add
I'm using Merlin, but don't see the /jffs/configs/profile.add file.
I'm pretty sure I saw it when I had x3mRouting loaded. Do I need x3mRouting to add alaises?
I CAN see
/rom/etc/profile
/tmp/mnt/entware/entware/etc/profile
/tmp/etc/profile

But some of them are read only. I could chmod them, but which one to use?
 
Similar threads
Thread starter Title Forum Replies Date
sesardelaisla Solved bash executable script problems when executed through a cron job Asuswrt-Merlin 20

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top