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,275 questions
0
votes
1
answer
47
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
80
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
38
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?
3
votes
0
answers
79
views
How can I run a ps1 script from the context menu in Windows Terminal - but ALWAYS open a new WT window instead of the script running in a new tab?
I have set up some right-click context menu entries for .ps1 files to run PowerShell scripts in Windows Terminal instead of ConHost. Screenshot:
So I can run a one-off script elevated or un-elevated ...
0
votes
0
answers
65
views
xcopy Invalid numbers of parameters error
I'm trying to execute two xcopy commands from a batch file like this:
xcopy D:\source\folder "E:\target folder\folder" /E /D /I /Y /EXCLUDE:D:\source\folder\\Management\exclude1
xcopy D:\...
1
vote
2
answers
124
views
A4 PDF pages: how to scale to A5, rotate, and combine onto A4 pages on command-line
Consider a PDF document in.pdf with A4 pages. Goal is to produce a PDF document out.pdf, consisting of the same page content in the same order.
How to resize the pages of in.pdf to A5, turn them, and ...
3
votes
1
answer
678
views
ssh and find interact weirdly when no files match the find qualifiers
All three servers are RHEL8.
When run locally, these commands run as expected:
Node_A:
$ find /var/log/postgresql -name '*log' -type f -size +4096c
/var/log/postgresql/postgresql-2025-11-06_11.log
/...
0
votes
1
answer
96
views
dir /s /ad /d /b fail to return to command prompt
dir /s /ad /d /b relative or absolute non existent folder
fails to return to command prompt but the command works if the folder actually exist.
I don't have knowledge of how to debug the issue but ...
2
votes
1
answer
157
views
How to ungroup prompts on a Windows 11 machine?
On a new Windows 11 (24H2) machine, it seems my prompt programs get grouped in the taskbar.
I'm ok with several "equal" tasks to be grouped (like all Google Chrome pages, MS Excel files, ...)...
3
votes
1
answer
198
views
Systemd: How to unpack %I arguments to ExecStart without wrapping in Shell?
I have a systemd service like this, where the executable takes multiple arguments (with "-" flags and values).
pairman@revyos-lpi4a:~/.config/quasar/quasar-server$ cat ~/.config/systemd/user/...
4
votes
4
answers
514
views
How can I grep two different match combination of the file names with filter?
How can i grep two different match combination of the file names with filter.
I want to retrieve all 'TP' and 'OS' files [present in the second qualifier] and for 'PM' type only select 11 and 34 [...
0
votes
0
answers
92
views
Is there a Windows command line tool equivalent of the Linux command mkfs.vfat?
I am trying to create a .img to put files on, and I know windows has the format command to format drives, but it needs to be mounted and you need the drive letter like X: but if you try to mount an ...
3
votes
1
answer
1k
views
How to delete a file with a very long (and very strange) filename in Windows?
I wanted to get a pdf of my grade reports, so I did a "print to pdf" and ended up with this monster of a filename:
jgod-tx.client.renweb....
1
vote
1
answer
87
views
When to use Command Prompt over Windows PowerShell or vice versa? [closed]
In Windows 11 (or any Windows edition that is a fit for this context), I have been using Command Prompt, but sometimes, I have also been using Windows PowerShell. Can anyone tell me if there's a hint ...
1
vote
0
answers
129
views
Python 3.13: How to enable history-search-backward
In the interactive Python interpreter.
Short TLDR:
How to have history-search-backward and Multiline editing at the same time.
What I currently have:
A ~/.inputrcwith this content:
## arrow up
"\...