A command-line interface (or CLI) is a method of interacting with your OS or software by typing commands on your keyboard.

learn more… | top users | synonyms (3)

0
votes
0answers
29 views

OpenBSD Change tty background color

Is it possible to change the background color of one or all ttys without installing any additional packages? Using a config file, or environment variable? I tried changing the text mode resolution, ...
1
vote
2answers
58 views

How to copy a file into folder and all its subdirectories

I found some topics on superuser which helped me, but I'm still stuck at some place. I found out that to copy file through command-promt I can use: Copy index.html forms. But this command copies ...
1
vote
0answers
18 views

Creating multiple screens in a for loop to run parellel programs and sending commands to each

Before flagging this questions as redundant, i have read and tried every answer to similar questions with no success I have this loop where it traverses a directory structure, and runs a program ...
-1
votes
0answers
35 views

Visual Studio 2013 - How can I prevent a console app from opening an external Command Prompt for output?

Is there a way to have Visual Studio display the output of a console application within itself, instead of having to open up an external command line window and outputting there? In essence, I don't ...
0
votes
0answers
6 views

Controling many windows in irssi (tabs groups?)

I usually have like 40-50 channels opened among 15-20 different networks. It's really difficult to control them all, so do you have any tips what to do to make it easier? Maybe some extentions? I also ...
0
votes
2answers
29 views

check ownership of windows drive through cli

I am trying to figure out who the owner of a windows drive is through the command line and cannot seem to find the right command to run. I know about the takeown command to take ownership of a drive, ...
0
votes
1answer
46 views

How do I replace the windows explorer shell with some image during boot?

When I start the computer instead of opening explorer.exe I need to put some image or blank screen. In registry if I change shell value in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon ...
0
votes
0answers
39 views

How can I import a security template in Windows 7 using command line?

I would like to remotely deploy some specific change in Security Policies to several computers via remote console (SSH). This is my just exported security template .inf file, extracted according ...
0
votes
1answer
72 views

How do you run a command as another user on Linux?

I have access to a linux server where I can sudo to 'foo' like this without a password: sudo su - foo Once I am the 'foo' user I am able to run a script like this: /dir/foo_user_script.sh The ...
0
votes
1answer
46 views

Get output while using putty remotely

I have two different servers (A and B, both are Windows) and I am executing putty via command line between them. Server A executes remotely an script in server B and everything works fine, but I am ...
1
vote
1answer
67 views

Install a driver in Windows (XP) from command line? [duplicate]

How can I install and uninstall a driver from the command line during a console session? I have the driver.sys and the driver.inf file, and I want to: install the driver use the device managed by ...
0
votes
0answers
20 views

How to change keyboard layout by command line

I'm using a software ChangeKey to reassign keys like CapsLock to Ctrl in windows 7. The software is GUI based, if I can change the key assignment by command line, it become much easier to setup new ...
1
vote
0answers
19 views

Associantion of a jpg by command line fails

I'm trying to associate files by command line. I could associate .rar file by this command assoc .rar=rarfile ftype rarfile=%USERPROFILE%\Dropbox\bin\WinRAR\UnRAR.exe x -ad "%1" But it fails with ...
1
vote
2answers
58 views

How to quieten tcpdump output when reading a pcap file?

I notice that when using tcpdump to read a pcap file, the tcpdump command somehow manages to print information to my console even when I redirect both STDOUT and STDERR. How can I prevent tcpdump from ...
1
vote
2answers
23 views

How do I list directory contents in ConEmu console?

I recently installed ConEmu to replace the default CMD. The "ls" command to list current directory contents isnt working. How do I get back this feature?
0
votes
0answers
27 views

Batch Files - Script

I have a little .cmd script that executes few commands like mapping network drive, output some info to log file and copy the file on network including renaming the title based on date/time. This ...
1
vote
2answers
52 views

Can I use shell: commands to change directory in CMD?

I am trying to create a batch file which installs favorites on all company PCs and Notebooks. Is it possible to change the directory in CMD using shell:favorites? I need this because on the ...
1
vote
0answers
16 views

How to bind a command line to a user logging out in XP?

I have access to a central kiosk at work (windows XP). I installed Dropbox on the computer, but it hangs and must be force closed whenever a user logs out or I try to shut the system down. Since I ...
1
vote
1answer
32 views

Grep and What If 75

I'm trying to run the command from What if 75: cat wordlist.txt | perl -pe 's/^(.*)$/\L$& \U$&/g' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' '2223334445556667777888999' | grep -P "(.)\1\1\1\1\1" I ...
0
votes
1answer
50 views

OpenSuse root commands error

Can someone explain why these commands doesn't work me@suse:~> ifconfig Absolute path to 'ifconfig' is '/sbin/ifconfig', so running it may require superuser privileges (eg. root). . ...
2
votes
1answer
58 views

Disable close button on DOS program in Windows 7

At my company we have stores that run some old DOS software. Before Windows 7 you could run these programs in full-screen and now you cannot. I know there are work-arounds to get in full-screen ...
0
votes
0answers
45 views

Command-Line Option to Open Chrome in New Window and Move Focus

The default behavior of running chrome via the command-line: chrome www.google.com opens a new tab in an existing instance of chrome and moves the focus from the terminal to the newly created tab. ...
2
votes
0answers
38 views

Is there a automatic way to extract highlighted text from pdf?

Is there a command-line solution to extract highlighted text from pdf? I have a bunch of pdf documents where I personally annotated, and was wondering if there is a convenient way to automatically ...
1
vote
1answer
23 views

Avoid command dump on terminal when hitting 'Ctrl' twice

Whenever I hit Ctrl twice in my terminal, a list of all the possible commands comes up and it takes some time to complete. How can I prevent this behavior?
0
votes
0answers
82 views

How to convert PSD to JPG or PNG on Linux with Gimp CLI/batch mode (or other server-side tool)?

I've been working on a theoretically simple web service to convert PSD or AI files to jpeg, png or some web-compatible format. I was able to successfully use ImageMagic's convert -flatten sample.ai ...
1
vote
2answers
41 views

Auto rotate scanned text image (OCR via command line?)

Can I auto-rotate an image that contains mainly text? Maybe via OCR? The algorithm or whatever needs to scan the image and decide if it has to rotate it 90°, 180° or 270° I want to include this ...
-1
votes
1answer
56 views

Robocopy misunderstanding of destination folder

I want to create a simple script to move the entire contents of a folder up in the parent directory, and insert it in the context menu. Here is the script. I'm trying to understand how robocopy ...
1
vote
1answer
88 views

Unix Command to get number of lines in a csv file

Hi Iam new to UNIX and I have to get the count of lines from incoming csv files. I have used the following command to get the count. wc -l filename.csv Consider files coming with 1 record iam ...
2
votes
1answer
95 views

My Windows edition has no “secpol.msc”. How can I edit security policies? [duplicate]

It seems that some Windows editions don't include the GUI secpol.msc tool. I would like to change some data at Local Security Policy, like, for example, Create a token object. How can I do that? All I ...
0
votes
1answer
29 views

Confirm if directory exists in a specific location then Run cmd 1 if not cmd 2

I have two scripts that I would like to merge into 1 batch file. The scripts just delete temp areas on windows 7 or xp, I would like to combine them by creating a conditional statement that states IF ...
0
votes
1answer
117 views

Is there a command line utility to script uploads to Google Drive and share items?

Me and my team are using Google Drive to share results of our build processes. We used to have a shared drive on some server, accessible to all members. We run Windows XP and Win7. Now, several team ...
1
vote
2answers
33 views

Rename file names based on a pattern in Linux

I have a lot of data with file names like this: combination.2005.0801.txt combination.2005.0802.txt ... combination.2005.0830. txt What should I do if I want to rename that files to be like this? ...
1
vote
0answers
26 views

du on Mac OS 10.9 gives two different answers for the same directory

If I run du on my iMovie Library.imovielibrary I can get two different results depending on how I run du. However, I believe both of these should result in the same value. Behold: davids-imac:Movies ...
0
votes
2answers
59 views

Windows Command Prompt [closed]

How to load a prewritten line in command prompt? Example: Take the followings as a line: java -jar System.jar Can this command line be written in a .bat file so that by clicking on the .bat ...
2
votes
2answers
52 views

How to extract tar file on Windows, when the filenames include a colon?

I have a tar(.gz) file created on a Linux system, and the filenames contain colon characters. The tar utilities I can find on Windows don't extract these files at all. How can I do this, ideally ...
0
votes
1answer
63 views

Windows 8.1 - Failed Symbolic Link Caused Windows To Be Unable To Log In

I was needing to have my Users folder on my Hard Dive instead of my SSD where my Operating System is. However, after following the answer provided by @2mc56 on a Microsoft Community question, I was ...
0
votes
1answer
21 views

How to download a file as executable via elinks in linux

I'd like to download a file as executable through elinks command line in linux. How to do it? by default, saved file is not executable (rw/r/r).
2
votes
1answer
31 views

Bulk-deleting inbox mails managed by POSTFIX

Had an issue several hours ago with a client mail account, which got compromised. As a result, he had hundreds of thousands of spam queued in postfix, which lead to several issues. Everything's fixed ...
1
vote
0answers
43 views

Nested environment variable does not expanded

I can't explain the below strange issue. I have two system variables: PYTHONHOME = D:\Tools\ISDC_Tools\Scripting\Python.2.7 PYTHONPATH = %PYTHONHOME%;%PYTHONHOME%\Lib After creating a new cmd ...
1
vote
0answers
22 views

scp doesn't work when my .bashrc is echoing to console

Ok, so I have used linux for a long time but this is the weirdest thing I have encountered in a long time. Maybe I just don't do a lot of scp so probably missing something simple here. So in my ...
2
votes
1answer
47 views

Windows Batch - default choice with timeout

In a cmd window, I want to prompt the user for a set of choices (denoted by letters), one being the default. The user can key in a letter or hit Enter, in which case the default choice will be ...
2
votes
1answer
29 views

OpenOffice Writer: preserve hyphen in text

I often use an editor like OpenOffice Writer to build documentation. My documentation is usually technical, and it often includes commands for the terminal. When I format a command, I will indent the ...
1
vote
1answer
26 views

Fast Mass File Management? [closed]

I have many different disks (primarily harddisks) storing various files. I want to know that they are all backed up in some form. Given that I have terabytes of files somehow (backups of backups ...
0
votes
3answers
31 views

List folders that have more than two files over the size of x in it - command line

Even better is if it can find directories that have more than two files excluding certain types of files.
0
votes
1answer
35 views

ControlC doesn't stop .cmd script in Windows7 CMD window

I work with several Windows7-64 systems. In all but one, typing ^C into a CMD window running a .cmd file, invariably (and expectedly) stops the program. More importantly, if the .cmd script launched ...
1
vote
0answers
16 views

Is it possible to modify (or create) an scheduled task in Windows command-line to disable “Stop task if it runs longer than”?

I wanna change this option via command line using schtasks (or whatever), but the docs seems not to have an option for it: Stop task if it runs longer than only the GUI seems to allow it: I ...
3
votes
1answer
50 views

#!/bin/bash -e :: what is `-e`? other arguments?

I am a shell script coder that always opt to use shell as top level as part of my belt in creating website apps on the fly and have relied on my bash scripts if I want a project to be implemented ...
0
votes
0answers
23 views

Windows command-line: Is it possible to modify (or create) an scheduled task for “Run task as soon as possible after a scheduled start is missed”?

I wanna change this option via command line using schtasks (or whatever), but the docs seems not to have an option for it: Run task as soon as possible after a scheduled start is missed only the ...
1
vote
2answers
25 views

Is it possible to modify (or create) an scheduled task in Windows command-line to remove the need for user login?

Is it possible to change, by using command-line, this first state in my Windows Task Scheduler (sorry, my Windows is in spanish; look for translation on the bottom): to this other? Only ...
0
votes
0answers
23 views

In MacOSX Mavericks, launching an app from the command line versus by double-clicking [duplicate]

In MacOSX Mavericks, what are the differences between launching an app by double-clicking it or through Spotlight, and from the command line? By launching an app such as Emacs from the command ...