open a terminal in ubuntu code example
Example 1: ubuntu open directory from terminal
xdg-open folder_name
Example 2: how to open terminal as administrator in ubuntu
# in terminal type
sudo su
# now enter your login password
xdg-open folder_name
# in terminal type
sudo su
# now enter your login password