Questions tagged [command-line]
An interface for interacting with a computer using typed commands in a text-oriented environment, as opposed to a graphical user interface (GUI).
13,285 questions
-2
votes
0
answers
30
views
What will be executed by FFmpeg in a command chain, from h.262 to h.265?
I use different filters and the encoding to h.265. My question, what is the best way for FFmpeg to do it in a command line :
for f in *.ts; do ffmpeg -y -i "$f" -vf scale="1280:720,...
6
votes
3
answers
681
views
Is it possible to scroll past the bottom / have empty space below the cursor with Windows Terminal?
I am using Windows Terminal (1.23.13503.0) with Command Prompt as the default profile. I have others like PowerShell, Ubuntu 24.04.01 LTS.
This is not a scrollback or history issue, if I understand ...
0
votes
4
answers
127
views
How to get a single byte from a file at a specific offset?
I'm using Windows Batch, but I also have ported copies of most all the Unix/Linux commands such as od and dd. I've been Googling this for over an hour now, reading the man pages for both commands, ...
0
votes
1
answer
115
views
What is the PowerShell command to apply a script to all subdirectories only once?
This post says to apply a script to all subdirectories use the following command.
Get-ChildItem -Recurse | ForEach-Object { & "C:\Path\To\YourScript.ps1" $_.FullName }
The issue is this ...
-1
votes
1
answer
24
views
Is there an option/flag to load multiple torrent files via Frostwire from the command line?
When I open FrostWire by typing frostwire into the linux terminal, I can have it load a .torrent file when I put the path to that .torrent file after that command:
frostwire /path/to/file/one.torrent
...
3
votes
2
answers
279
views
Is there a way to empty all of the trash via Trash CLI or a similar command in Linux?
I have installed Trash-CLI, I use it and wrote a script using it. Works well.
Here's the rub.
If an external drive is attached, it apparently has it's own .Trash and only using the GUI 'empty trash' ...
15
votes
6
answers
2k
views
How do I ping “-hyphen.tumblr.com”?
The Windows ping command doesn’t seem to allow me to ping hosts with a name starting with a hyphen:
Bad option -hyphen.tumblr.com
For what it’s worth, the website served there can be visited just ...
1
vote
0
answers
23
views
"The group of resource is not in the correct state to perform the requested operation" when running NETSH commands
I am attempting to host a hotspot without a password since there is no hotspot software that will allow me to do so. Using CMD as an admin, I have run the following commands.
netsh wlan set ...
1
vote
0
answers
47
views
Why is AppData\Local\Microsoft\WindowsApps sometime replaced with (nowa) in my path?
On my Windows 11 machine, when I press/release the Windows key and type cmd<enter> then path<enter>, the path shown includes (as expected because I'm logged as fgr )
C:\Users\fgr\AppData\...
1
vote
0
answers
34
views
Can't map network drive with runas /trustlevel:0x20000
I'm trying to map a network drive from a script that is running in administrative cmd.exe. Running net use directly from an admin cmd.exe doesn't work (see this serverfault answer). Instead, I'm using ...
1
vote
1
answer
234
views
How to use a command for ffmpeg that works with pictures of all names and types?
I have a number of audio files that I'd like to use to convert to video. All videos are static--using only one picture. Some audio files need one picture and some another. The pictures have different ...
0
votes
0
answers
134
views
How to make screen 16:9 and upload it on YouTube?
Im trying to make screen size 16:9 with this command because every time I upload on YouTube it uploads as square
Iv'e tried:
ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset ...
0
votes
1
answer
73
views
Why are Windows Powershell repair scripts failing under Windows 10?
Windows Search doesn't work under Windows 10, version 10.0.19045.4046.
Windows.Shell.ExperienceHost is showing as one of the reasons, seems it's not installed "correctly"
I tried the ...
0
votes
1
answer
99
views
How to create a bootable CD that automatically starts a DOS application
I have a bootable ISO file that I want to burn to a CD. I'd like it to start an application on the disc when it boots.
I extracted the img file from the ISO using 7-Zip. If I burn a CD in CDBurnerXP ...
1
vote
1
answer
51
views
Which SVN command: `svn dump` or `svn hotcopy` is better for backup?
I am running an SVN server and I am wondering why do I need svn dump when I have svn hotcopy command? What are the differences and which one is better for backup?