how to desktop folder(new) in linux via terminal
- User
how to desktop folder(new) in linux via terminal
- Assistant
To create a new folder (directory) on your desktop in Linux via the terminal, you can use the
mkdircommand. The command will vary slightly depending on your desktop environment and the username you are using. Here’s a general way to do it:-
Open the Terminal: You can typically find the terminal in your applications menu or by searching for it.
-
Navigate to the Desktop (optional): You can navigate to the Desktop directory using the
cdcommand, but it's not necessary. If you want to navigate first, you can do it like this:
-
- User
now i want to run python script what command i use
- Assistant
To run a Python script from the terminal in Linux, you can use the
pythonorpython3command, depending on the version of Python you are using. Here’s a step-by-step guide to running a Python script:Steps to Run a Python Script