How do I run a file in Linux command line?

Hương Trang

New member
How do I run a file in Linux command line?
Answer
First, open the Terminal, then mark the file as executable with the chmod command.
  1. chmod +x file-name.run.
  2. ./file-name.run.
  3. sudo ./file-name.run.
 

Tìm kiếm

Back
Top