Programming
192

How to call a program without in path folder?






  26-Jan-2023 20:45:06



I have questions, i was make tool how i can call executable tools without going to the folder path?

Example path :

home/user/mytools>python myscript.py -option

i want like this (without path)

home/user>myscript.py -option

*Beware click the link!


DISCUSSION

In Linux you can make aliases, add your init or alias name then add your path on there 

You can edit in bash config

example 

alias wr=”cd /var/www/html”

https://www.tecmint.com/create-alias-in-linux/ 

In windows 

Edit enviroment variabel, then add your path folder. If you was try install programming lang like python, c, php or compiler. Following the link 

https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0 

In MAC?

Idk :D 





Reply

Compile to excutable make it easy dude




Reply

Login for report, comment and join discussion
Login Here
Sponsored

Popular Posts
Gps Tracker Seccodeid Free Too...
General
21355
204
Top


Djie sam soe Djie sam soe
Complete Basic Course in Kali...
Linux
14374
4
Top


Djie sam soe Djie sam soe
Komintod (Ministry of Communic...
Data Leak
6512
94
Top


Murtad methamphetamine Murtad methamphetamine
Free Proxy List
Networking
3625
3
Top


Sandidi Sandidi
Mass Reverse IP Unlimited
Tools Hacking
3398
15
Top


ImamWawe ImamWawe

Related Post

Youtube Video

Subscribe