Sample Header Ad - 728x90

Run terminator in the necessary directory and then run necessary command

13 votes
6 answers
29329 views
I want to open Terminator in a specific directory, for example /home/downloads/, and then run a command. I did the first part by this "custom command": cd /home/downloads; bash Terminator now starts in this directory, but how I can do the second part? Now that terminator was started in the downloads directory, I want to run any command I want, for example ls or rake command or use some aliases as commands. How can I do this? I press right mouse button in terminator and choose Parameters, then Layouts, then i add text in Custom command section. All these must be carried out automatically after the terminator start.
Asked by Asq (131 rep)
Sep 30, 2015, 12:28 PM
Last activity: Oct 9, 2023, 04:34 AM