command-line Questions

2

Solved

for example, test.R is a one line file: $ cat test.R # print('Hello, world!') we can run this file by Rscript test.R or R CMD BATCH test.R. However, is it possible to instruct R to execute code...
Comfrey asked 21/3, 2017 at 14:22

5

Solved

I have a (syntactically-valid, not-huge) CSV file. I want to run an arbitrary SQL SELECT query on it; let's assume that it can be a complex query, with some inner queries, with self-joins, maybe wi...
Nagle asked 22/8, 2023 at 13:48

3

Solved

I'm trying to use ImageMagick to create thumbnail images that are 3840 x 2160. I need the image to have a black background and white text. The text should be centered vertically and horizontally. I...

4

Solved

There are various one-liner HTTP server commands, e.g. the best-known is probably python -m http.server. I'm looking for a similar command which would run a server that ignores the file path and se...
Wade asked 10/12, 2019 at 13:2

3

I need to use a command line on Windows OS to generate the base64 data of a specific file on the screen (without generating a file). I have see that on Unix system is sufficient to use cat <file...

2

Do you know a reliable command line tool able to export SQL Server schema to a text file?
Caracaraballo asked 27/4, 2017 at 22:41

5

My PC is Windows 10 Pro, 22H2 In my closed work environment, I SSH from Windows command line into many devices that all have the same IP (one at a time, not concurrently on my network at the same t...
Outermost asked 1/2, 2023 at 17:56

6

Solved

I am trying to get another process' command-line parameters (on WinXP 32bit). I do the following: hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE, FALSE, Proc...
Instantly asked 30/6, 2011 at 6:4

3

I'm creating a -wxs file from dir using heat.exe and now would want to generate/create msi from wxs file using command line utilities with out visual studion. One of the user suggested in below q...
Nocturn asked 7/10, 2014 at 10:45

1

Currently, using ffmpeg, I am using two commands on my Terminal to: 1) create a video from a bunch of images: ffmpeg -r 60 -f image2 -s 1920x1080 -i rotated-pano_frame%05d_color_corrected_gradble...
Garganey asked 17/7, 2017 at 9:59

7

Solved

I need to do a .bat copy of a .sh, I don't know much Windows cmd. On Linux I could do mv ... or rsync -a SOURCE/ DEST/ --remove-sent-files --ignore-existing --whole-file but Windows "move" ca...
Vlada asked 14/4, 2012 at 16:47

5

I am trying to use enulator command and list all of my emulator nevertheless i get infromation that command is not found. My avds are installed in visual studio. emulator -list-avds Info: 'emulato...
Wingspan asked 11/9, 2021 at 5:12

4

I'm currently working on a Linux machine and I want to know if there is a command that tells you the number of hard drive slots the actual machine has regardless of whether there are hard dri...
Choroiditis asked 8/8, 2018 at 17:44

6

Solved

What's the easiest/best way to find and remove empty (zero-byte) files using only tools native to Mac OS X?
Boorer asked 13/2, 2009 at 1:45

8

Solved

I would like to know if there is a way (programmatically) to check if a code is running within Eclipse, IntelliJ, any other editor or running from the command line (console). I was thinking to use ...

4

Solved

To solve Android build issue I need to replace all intermediate alpha pixel with solid pixel (leaving transparent background as is). How to that with ImageMagick or other-command line tool to all i...
Negligent asked 9/3, 2015 at 7:35

3

Solved

How convert JSON file into YAML and vice versa in command line? Any ways are welcome.
Modica asked 7/5, 2021 at 8:42

3

I wondering how to launch "Open dedicated DevTools for Node" directly from the (windows or linux) command-line, without using chrome://inspect url then Open dedicated DevTools for Node button ? My...
Timisoara asked 17/5, 2018 at 13:27

6

Solved

I'd like to have a command I can insert into a command pipeline that adds color escapes to its input according to vim's syntax highlighting capabilities. For example: cat somefile.js | vim - <...
Jackinthepulpit asked 30/10, 2013 at 1:30

7

Solved

I've been trying to get environment variables to work in my documentation build. I've had some success with adding a dotenv-webpack plugin and substituting values that way. This has the downside of...
Hegyera asked 9/4, 2020 at 17:40

5

Solved

I am using jasypt 1.9.2 in Windows 7 x64 cmd. Here's encrypt.bat content: ECHO ON set SCRIPT_NAME=encrypt.bat set EXECUTABLE_CLASS=org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI set EXEC_CLASS...
Isherwood asked 20/11, 2015 at 12:32

10

I want to get the full command line as it was typed. This: " ".join(sys.argv[:]) doesn't work here (deletes double quotes). Also I prefer not to rejoin something that was parsed and split. Any ...
Phipps asked 20/3, 2009 at 19:11

3

I want to 'manually' compare a digest/hash of a message with the decrypted signature value on this digest. For this, I want to decrypt the signature value (the signed digest) of the message with t...

9

Solved

Using Python 2.7 installed via homebrew. I then used pip to install IPython. So, IPython seems to be installed under: /usr/local/lib/python2.7/site-packages/ I think this is true because there ...
Patisserie asked 25/5, 2013 at 2:45

3

Solved

My GDAL is showing strange behaviour when I try to use ".py" functions from the command line: 1. For example, when I run gdalinfo --version, I get the standard response: GDAL 1.11.3, released 201...
Flexuosity asked 19/2, 2016 at 7:57

© 2022 - 2024 — McMap. All rights reserved.