how to make a text in batch
echo text here
Here is what the above code is Doing:
1. We’re creating a variable called “text” and assigning it the value of “Hello World”.
2. We’re printing the value of the variable “text” to the console.
echo text here
Here is what the above code is Doing:
1. We’re creating a variable called “text” and assigning it the value of “Hello World”.
2. We’re printing the value of the variable “text” to the console.
locate typesizes.h Here is what the above code is Doing: 1. It’s creating a new file called typesizes.h 2. It’s writing the following code to that file: #ifndef TYPESIZES_H #define TYPESIZES_H #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_FLOAT 4 #define SIZEOF_DOUBLE 8 #define SIZEOF_LONG_DOUBLE 16…
awk ‘{print NF}’ filename | sort -nu | tail -n 1 Here is what the above code is Doing: 1. awk ‘{print NF}’ filename: prints the number of fields in each line of the file. 2. sort -nu: sorts the output of the previous command and removes duplicates. 3. tail -n 1: prints the last…
1) Run powershell as administrator 2) Run in terminal: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Here is what the above code is Doing: 1. Importing the required libraries 2. Defining the function to be called when the button is clicked 3. Creating the button 4. Displaying the button
sudo apt-get install at at now + 8 hours -f ~/myscript.sh Here is what the above code is Doing: 1. Install the at package 2. Run the script in 8 hours
Restart ibus-daemon to unlock keyboard input (run ibus-daemon -rd). To prevent further locks: Go to “Help | Edit Custom VM options…” Add -Drecreate.x11.input.method=true to a new line Restart IDE Here is what the above code is Doing: 1. import sys This imports the sys module, which is a module that contains many system-specific parameters and…
# credit to the user in the source link $ apt-get install ffmpeg $ ffplay example.mp3 Here is what the above code is Doing: 1. Importing the required modules 2. Setting the path to the audio file in the variable source 3. Calling the method AudioSegment.from_mp3 with source as argument 4. Calling the method export…