How to Run Files in Linux

Thứ bảy - 27/04/2024 01:11
This wikiHow teaches you how to run files in Linux. You can run most files using a file manager program. Most Linux distributions have a default File Manager that comes pre-installed. You can also use the Terminal to run a file in Linux....
Table of contents

This wikiHow teaches you how to run files in Linux. You can run most files using a file manager program. Most Linux distributions have a default File Manager that comes pre-installed. You can also use the Terminal to run a file in Linux. This is the preferred method for running ".run", ".sh", and ".bin" files.

Executing Files in Linux

Using a file manager, open the folder, right-click the file, press “Open With,” and select the application. Using the Terminal, press Ctrl+Alt+T. Type “cd” and the folder name. Then, type “sudo chmod +x” followed by the file name with no spaces. Type “sudo ./” followed directly by the file name.

Method 1
Method 1 of 2:

Using a File Manager

  1. Advertisement
Method 2
Method 2 of 2:

Using the Terminal

  1. Advertisement

Total notes of this article: 0 in 0 rating

Click on stars to rate this article