Monday, April 29, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1712  / 2 Years ago, wed, august 10, 2022, 3:43:52

Every time I need to use sublime to open a project from terminal, I have to do this:



nohup sublime . &


Is there a way to short it?


More From » command-line

 Answers
1

You can make command short by editing .bashrc file and add the following line at the end of the file.




alias new_command='long old_command'




For here you can use




alias newcommand = nohup sublime . &



[#35075] Thursday, August 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ncharm

Total Points: 255
Total Questions: 105
Total Answers: 118

Location: Virgin Islands (U.S.)
Member since Sat, May 6, 2023
1 Year ago
ncharm questions
;