Tag: Terminal

  • [CMD] How to extract all files name in directory

    You can use the command “dir” to list all files and folders in a directory, and “dir /b” to list only the names of files in a directory. To save the list of filenames to a text file, you can use the command “dir /b > filename.txt”. For example, to list all files in the…

  • How to Execute C++ Console Program with Background Mode

    Unix-based System To execute a C++ console program in background mode on a Unix-based system, you can use the “nohup” command. The syntax is as follows: The “nohup” command allows the program to continue running after you close the terminal window. The “&” at the end of the command runs the program in the background.…