Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

0
votes
1answer
10 views

How to delete (rm) files on a CIFS mount when filename contains a colon (:) or other special characters?

On my LAN, I have a Synology NAS with encrypted shared folders. They are mounted on my Debian computer through CIFS (NFS is only available for unencryted shared folders). //<NAS_IP_ADDRESS>/<...
1
vote
2answers
16 views

What's the difference between the keywords 'python' and 'python3' in command lines?

I've seen two ways to open a python script using the commandline, these are: python foo.py and python3 foo.py I know, there are python2 etc, but what does python without a version do then and ...
0
votes
0answers
4 views

Simple Batch Method to Output Filename + CRC32 on One Text Line

My batch skills are limited. To produce results for many files, I use DIR /a-d /s /b > dirlist.txt. I import dirlist.txt into Excel (column A), and use that to produce file-by-file commands (in column ...
0
votes
0answers
6 views

Running Linux command after reboot under specific conditions

we are currently setting up a Kubernetes Cluster. Kubernetes starts up at server boot normally and after a while, after the program "kubelet" has fully loaded its components, the network port 30000 ...
0
votes
0answers
7 views

C4D Commandline Render cause “Project not found error”… sometime

I am having trouble with C4D Commandline tool. I tried to render c4d file that located on a server by using Commandline.exe (File is on macos server, rendering on the windows10 computer) and it works ...
0
votes
1answer
15 views

Copy files with full relative path in Windows

I have a large set of files (45,000+) in a pretty complex folder structure. I extracted a subset of ~13,000 files and their paths (relative to the root folder) that I want to copy with the original ...
0
votes
0answers
20 views

Exe without command prompt [on hold]

Some executable files like procdump.exe open the command prompt window, is there a simple way to modify it so the prompt doesn't show up?
0
votes
0answers
14 views

Can't chown or chmod files on android phone [migrated]

Hi there i got some files on my android phone and want to make them executable. Permissions are root:sdcard_rw. I cant remove tha sdcard_rw with chown, and cant make the files executable with chmod.
2
votes
1answer
17 views

Is there any way to increase system volume in windows 10 with Command Line

I am working on a project and I want to increase system volume by using cmd (Command Line). I am running windows 10 is there any way to do this. I found nircmd.exe as a windows command for Windows XP ...
0
votes
0answers
14 views

Why is Locking you computer via rundll32.exe not recommended [on hold]

I've seen that you can lock your computer through cmd prompt with the command .. rundll32.exe user32.dll,LockWorkStation But a quick search and most people say that this method is not recommended. ...
0
votes
1answer
17 views

How do I play a 4:3 video stretched to 16:9 on FFplay?

I want to play a 4:3 video stretched to 16:9 in FFplay. What is a command line for that?
0
votes
0answers
16 views

Configuring PageUp/Down Home, and End in OpenSSH on Windows

I have OpenSSH installed on a Windows 10 box. Whenever I ssh into a remote box, pressing the Home, End, Page Up, and Page Down keys yield only a tilde input. How do I get these keys to work properly ...
-1
votes
0answers
12 views

What is a PATH in reference to C? [duplicate]

I am trying to fix an issue where my make command does not work. One of the solutions here says to "Find where make.exe is hiding and add it to your PATH". What is PATH in this case? Thanks.
1
vote
1answer
23 views

Uninstall pip dependency with a hyphen at the start of it's name

I accidentally globally installed a package called -igalixir with pip3. When I try to uninstall it with pip3 uninstall -igalixir it interprets -igalixir as a command line option. I have tried ...
0
votes
0answers
23 views

Is it possible to execute a program as another user via cmd or powershell?

I know its possible to run a program as another user, but it still runs in your own environment. What I want to do is remote powershell into a users machine and then make a program pop up on their ...
0
votes
0answers
50 views

FFmpeg capturing video with 5.1 ac3 audio

I have been capturing video+ audio with an FFmpeg command line similar to this one FFmpeg -threads 8 -f dshow -video_size 1920x1080 -framerate 25 -vcodec v410 -rtbufsize 702000k -i video="Video (00 ...
0
votes
0answers
30 views

how to disable ubuntu desktop autostart and leave default terminal?

is it possible to do the terminal interface in ubuntu by default? and how do i disable/enable ubuntu desktop in terminal, because i want to leave the server in command line and i'll use desktop ubuntu ...
0
votes
0answers
15 views

Safe write to file from stdout?

Ordinarily typing cmd > file will overwrite the file if it already exists. I often type >> to append, but get very worried about accidentally typing > and destroying my file. Is there an ...
0
votes
1answer
45 views

Possible to use & join Variables in Batch file to call an EXE with those longer variables as command-line arguments? How?

Possible to use Variables in Batch file to call an EXE with those variables as command-line arguments? How? I read that we can SET various kind of variables in a Batch file. Also, some of these ...
1
vote
1answer
43 views

Executing multiple commands in batch

I have exe file called invis.exe, which is a converted vbs to and exe with this content: CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False Using this I want to ...
0
votes
0answers
22 views

Trying starting React Native

I am still trying to start working on React Native. Doesn`t work. When I try expo I get the following: Error: Cannot find module 'C:\Users\uzer\AppData\Roaming\npm\node_modules\expo-cli\bin\expo....
0
votes
0answers
9 views

rabbitmq access denied loggin to fail2ban

Im using rabbitmq with rabbitmq_management. if user input wrong login/pass in web panel, at /var/log/rabbitmq/rabbit.log I have logs like this: =WARNING REPORT==== 17-May-2019::06:58:56 === HTTP ...
1
vote
1answer
18 views

Why does my GCC compiler not compile C code?

I followed a YouTube tutorial for installing the gcc compiler on my Windows 10 machine. The install appeared to go perfectly. tutorial here. I then wrote a C program, which compiles and executes when ...
0
votes
0answers
24 views

Recursively read a network drive - incomplete listing - Windows 10

So far I've been invoking the command cmd.exe dir /s /b to recuresively read a drive. The drive - let's call it I- is in reality a samba server in my internal network with an address of the ...
0
votes
0answers
43 views

Typing python on Windows 10 version 1903 cmd prompt opens Microsoft store

This is strange issue I have observed. I installed Active python 2.7 on Windows 10 version 1903. On typing python from Search, opens the python 2.7 prompt but when I type from command prompt window, ...
0
votes
0answers
11 views

How to debug mounted network Volumes in MacOS Terminal?

What command line tools should I try, to inspect contents of /Volumes? I see a directory /Volumes/foo which should be a connection to a NAS. But sometimes this connection is broken and the folder /...
0
votes
0answers
11 views

How to download only particular folder files of sub-folders from FTP site in command line in linux

I had tried using this command "wget -r ftp://ftptrace.ncbi.nlm.nih.gov/giab/ftp/data/AshkenazimTrio/HG004_NA24143_mother/NIST_HiSeq_HG004_Homogeneity14572558/HG004_HiSeq300x_fastq/...
1
vote
0answers
35 views

How to traverse a directory tree, running a command on each file there?

Using cmd.exe after a cursory look though of the output of help for: Command: FOR /R \Music %file IN (*.flac *.wav *.aif) DO C:flac.exe -f -8 %file Response: %file was unexpected at this time. ...
-1
votes
0answers
11 views

Run Android just the specified APK files in web browser - Is it possible? [closed]

0 I am looking to write a web page that can load to it and run APK files. Something like a web control that can get an APK file url, load it and let the user interact with the app (No need in the ...
0
votes
0answers
10 views

Whenever I make a commit in git, two editor panes open up

I've set up Sublime text 3 as my text editor for git. For some reason when I run any kind of command that opens up the text editor, two windows open up. Here are all the commands I've run when I ...
0
votes
0answers
14 views

Writing to offline files when offline

I have a simple script which backs up various settings like my HOSTS file, and a backup of my IIS sites and app pools. These files are then written to my documents folder which is actually a network ...
0
votes
0answers
7 views

Extracting archives in children, placing contents in each child

With 7zip's command line, I can use 7z.exe x *.rar -o* to extract the contents of all archives (rar, in this case) in the current directory and place them in subdirectories named after each archive (...
0
votes
1answer
13 views

Is there a way to get files modified after and/or before a certain time without using PowerShell?

Without using PowerShell or other scripts, and only using built-in Windows command-line programs, I'm trying to find files modified after a certain date and time, but I'm having trouble. This is the ...
0
votes
0answers
21 views

my custom powershell script not running on remote systems [duplicate]

i am trying to fetch installed application on remote systems using for loop in powershell,but when i try to run the script in powershell its giving me the result of local systems can anybody tell me ...
0
votes
0answers
25 views

Ubuntu command isn't recognized by window command prompt - Changing Unix username

I successfully installed the Window subsystem for Linux a week ago and now wanted to rename the Unix username from old@Desktop:/mnt/c/Users to new@Desktop:/mnt/c/Users I have digged hard on the ...
1
vote
1answer
50 views

How to get the current screen resolution on windows via command line?

I'm trying get the current screen resolution on windows via command line. Based on most of the answers I've found, I should use: wmic desktopmonitor get screenheight, screenweight But this returns ...
-1
votes
0answers
24 views

How to execute command within middle of echo'd sentence in .bashrc?

So, I am trying to show the output of a command located in the middle of a sentence and I am still pretty new to linux because stupid Windows horded my life without letting me ever even know that the ...
1
vote
1answer
52 views

Running gpupdate in System Context stuck in memory

I've run into an interesting problem with running PowerShell via scripts through ConfigMgr(SCCM) clients. One of the relatively newer features of SCCM Current Branch is the ability to run PowerShell ...
0
votes
0answers
17 views

How to batch change file creation date to file modified date on Windows?

I have a lot of files which have their timestamps messed up. Particularly, file modified timestamp reflects the date the files were actually created, but the file creation timestamp reflects some ...
0
votes
0answers
12 views

Connecting to MongoDB Replica Set from linux shell

I have a 3 node replica set with one of them as an arbiter node. And currently, one of the data carrying nodes is down so the other data carrying node is the PRIMARY and there is no SECONDARY. I am ...
0
votes
1answer
38 views

Mount command not found in windows

Part of the instructions I'm following indicates (https://graspingtech.com/mount-nfs-share-windows-10/) typing mount -o anon \\server_ip_address\mnt\vms in windows command prompt. In cygwing, the ...
0
votes
0answers
14 views

'sdkmanager --list' command is displaying 'java.lang.noclassdeferror' message

In my system i configured below softwares. 1.Java -- Version 1.8.0_211 2.In 'Environment Variables' i added 'Android\Sdk\platform-tools' and 'Android\Sdk\tools' and 'Android\Sdk\tools\bin' 3....
0
votes
0answers
6 views

Gentoo / Emerging the latest version of qtwebengine fails

Command: emerge qtwebengine COMMON_FLAGS="-march=native -O2 -pipe" MAKEOPTS="-j3" USE="-bindist" RAM: 4 Gb I have tried removing -pipe, and setting -j1, and also adding -jumbo-build to USE flags, ...
-1
votes
0answers
40 views

Expo Developer Tools is disconnected from Expo CLI. Use the expo start command to start the CLI again

I've a problem with npm start @ start C:\User\Name\Desktop\ReactNativeApp\ReactNativeApp expo start Starting project at C:\User\Name\Desktop\ReactNativeApp\ReactNativeApp Expo DevTools is ...
0
votes
0answers
29 views

Windows 10: RunAs requires elevation even when the command prompt is run as admin

I have set up an application which has to be run by a normal user, but requires admin privileges. It is stupid, it is a normal application, but it is installs like that. Users are definitely not ...
0
votes
2answers
41 views

What is the -y flag in the `apt install` command?

I'm seeing the -y flag being used in apt install -y a lot today but when I do man install no -y flag is described. Am I missing something?
0
votes
0answers
5 views

Cannot convert .ipynb file to .py file

I have downloaded a .ipynb file, but I want to convert it to .py so I can run it on PyCharm. I tried using the command lines to convert it, but I keep getting an error. I am not sure why it's not ...
0
votes
0answers
15 views

ConEmu Split Screens

I am trying to have split screens when I start ConEmu which I can't seem to figure out. What I'm trying to achieve is when I open up a conmand prompt, I would like a 2x2 screen already in place. I ...
0
votes
0answers
10 views

When run any flutter command return just cursor

I am new programmer trying to install flutter into windows 10. I am currently stuck. I have installed git and flutter as per instruction from flutter.io. Also added path variable on my user and system ...
0
votes
1answer
25 views

I am trying to batch create multiple text files in subfolders

I am creating .txt files with a list of the file names within a given subfolder. I have around 100 subfolders within each of the 18 main folders, so I would like batch create the .txt files to save ...