HOW TO INSTALL VS CODE ON ANY UBUNTU OS?
# GO TO THE LINUX CLI TERMINAL AND PASTE THIS COMMANDS:-
# UPDATE AND UPGRADE YOUR PACKAGES:-
• sudo apt update && apt upgrade -y
# INSTALL WGET WITH THIS COMMAND:-
• sudo apt install wget -y
# DOWNLOAD VS CODE THROUGH THIS COMMAND:-
• wget https://gitlab.com/MaheshTechnicals/kali-nethunter-2022/-/raw/main/vscode
# SEE ALL FILES IN LINUX:-
• ls
# INSTALL VSCODE ON LINUX:-
• bash vscode
# AFTER INSTALLING VS CODE OPEN LINUX GUI TERMINAL OF LINUX PASTE THIS FOR RUN VS CODE:-
• code
HOW TO FIX VS CODE NOT OPENING PROBLEM?
# MODIFY A FILE TO FIX ERROR:-
• sudo nano /usr/bin/code
# FIRST YOU FIND $@ LINE COME TO END OF LINE NOW JUST GIVE SPACE AND PASTE THIS LINE:-
• ––no-sandbox
# NOW SCROLL UP UNTILL YOU GET THE IF WOOT ENSURE LINE. YOU NEED TO COMMENT OUT SOME LINES USING #.WHEN "IF" LINE IS COME YOU STOP.
# AFTER ALL THE CHANGES. NOW SAVE THE FILE USING CTRL+O ENTER THEN CTRL +X.
# OPEN LINUX GUI,GO TO TERMINAL AND PASTE:-
• code
YOUR VS CODE IS OPEN AND ENJOY.