How to use Flyingbee PDF Conversion SDK.
3. Set an executable program as a command in the terminal
Update date: 2024-09-29 16:53:08
Try Flyingbee PDF Converter Online for Free, play with PDF to MS Office (.docx, .xlsx, .pptx) conversion on Web.
Powered by Flyingbee PDF Conversion SDK
In Linux, if you want to set an executable program like FPPDFConverter.out
to be directly used as a command in the terminal, you can achieve this through several methods. Here are some common approaches:
PATH
Environment VariableOpen your terminal.
Use the echo $PATH
command to view the current PATH
environment variable.
Use the export PATH=$PATH:/path/to/your/directory
command to add the directory where the executable file is located to the PATH
, where /path/to/your/directory
is replaced with the directory containing your executable file.
Now, you should be able to run your program directly by its filename.
Note: This change is only effective for the current terminal session. If you want the change to be permanent, you can add the export
command to your ~/.bashrc
or ~/.profile
file.
If you want to place the FPPDFConverter.out
command in a standard directory such as /usr/local/bin
, you can create a symbolic link:
Open the terminal.
Use the ln -s /path/to/your/FPPDFConverter.out /usr/local/bin/FPPDFConverter
command to create a symbolic link, where /path/to/your/FPPDFConverter.out
is the path to your executable file, and FPPDFConverter
is the command name you want to use in the terminal.
Now, you should be able to run your program directly using the FPPDFConverter
command.
Note: This method requires administrator privileges (use sudo
), as /usr/local/bin
is typically only writable by administrators.
If you only need it temporarily or don't want to change the environment variable, you can also add an alias to your ~/.bashrc
or ~/.profile
file:
Open the terminal.
Use a text editor to open the ~/.bashrc
or ~/.profile
file, such as nano ~/.bashrc
.
At the end of the file, add alias FPPDFConverter='/path/to/your/FPPDFConverter.out'
, where /path/to/your/FPPDFConverter.out
is replaced with the path to your executable file.
Save and close the file.
Run source ~/.bashrc
in the terminal or reopen the terminal to apply the changes.
Now, whenever you want to run FPPDFConverter.out
, you can simply enter FPPDFConverter
in the terminal.
We sincerely thank you for choosing Flyingbee PDF Converter! We hope our product brings convenience to your work and studies.
Flyingbee Software
Creative Products
Online Store
Social Connections
We uses cookies to give you the best experience, analyze traffic, and personalize content. By continuing using our Site, you agree to our use of cookies. The information collected might relate to you, your preferences, or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Read our Privacy Policy or manage your cookie preferences. If you would like to submit an opt-out request with respect to your non-cookie personal information (e.g., your email address), find our support email address to opt-out of sale/sharing/targeting with respect to non-cookie personal information.