I’m using the following version of VS Code on Linux Mint 20.3 Una XFCE Desktop – When I launch the terminal through the menu Terminal>New Terminal it cannot recognise any commands for example – *npm is installed on my system and is available through the terminal outside of vscode. By the way, I get the same result when I try
Tag: terminal
Create a symbolic link named long_file pointing to the largest file in the current directory
I know how to create a symbolic link but I don’t kow how to get largetst file in current directory. Please, help me! Answer You can do it with the following command: which breaks down as follows: find /path/to/dir-with-big-file/ -type f -printf “%st%pn” – find files and print %s files size and %p name. sort -n -r | head -n
How does the neofetch ascii logo determine which color to use?
I am making custom ascii text-images for a cli app, and was curious how these custom colors are designed. Any ideas? Thank you, Answer If you look at neofetch script on it github page, and search for any distro to see the ascii logo, you will see some codes between some letters, this codes are interpreted by the terminal as
Linux rename s/ – regex for wildcard single characte r
I have found a simple solution to my actual requirement, but I would still like to understand how to use the regex equivalent of the single character wildcard ? which we use for filtering … in say ls I would like to rename a group of files which differ by one character. FROM TO As I said above, my simple
How to fix The terminal process “/usr/sbin/nologin” failed to launch (exit code: 1) error in VSCode [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
How to wrap color coded text to fixed line length in terminal?
For text with color codes, how to wrap it to a fixed length in the terminal? Text without color codes wraps nicely with fold: But this red text wraps wrong: Note: While the red text is wrapped wrong, it still is printed in red, which is the desired behavior. (My use case is line wrapping the output of git log
grep all .js urls from text file
There is a File a.txt I want to grep all .js extension URLs so I tried this but it not showing https://site.tld/b.js?query=1 And when I tried this, It also select js name from anywhere Thanks in advance Answer Just escape the . with a
How to copy files containing the given character using terminal in Linux Mint?
In Linux Mint, I have a directory that has many files and I want to copy files that contain x in their filename and paste them into other destination. How can I do it using a terminal? Answer Go to the directory that contains all of your files, then try this one. this commnad can help you. replace YourDestination wtih
Output was lost in linux terminal. How do I restore? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Guake terminal displays incorrect colors (insufficient contrast)
I use two dropdown terminals in parallel: Yakuake and Guake. When using Guake, the colors are way too dark, which makes much of the colored text unreadable because of insufficient contrast. The problem is most severe when displaying color #4 (dark blue) on black background (which is the default color ls displays directories with) or in Midnight Commander (default theme,