Questions tagged [command-line-interface]

A command-line interface (CLI) is a mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks.

A command-line interface (CLI) is a mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks.

1564 questions
0
votes
2 answers

How can I script creating email aliases for existing mailboxes in Exchange 2003?

I need to create lots of email aliases (more than I want to do manually), so I want to know if there's a way I can script the addition of aliases to existing mailboxes/users. I don't mind if I have to use powershell or an external tool or not. For…
0
votes
1 answer

Matching Inverse of String in Windows CLI

Can anyone show me a good example of how to match it. Maybe I misread the documentation a bunch of times, but it does not even some close to how real tools like grep ought to work. The output of the following command, wmic /output:stdout csproduct…
songei2f
  • 1,934
  • 1
  • 20
  • 30
0
votes
2 answers

Deleting Files which have a certain name

can someone steer me in the right direction. I have 2GB worth of images, which include 3 types. Eg: thumb-12345.jpg popup-12345.jpg 12345.jpg Is there a quick script/command I could run to remove all the files which do not have 'thumb' or…
williamsowen
  • 1,167
  • 3
  • 16
  • 25
0
votes
2 answers

what this command will do

Mistakenly i run this command cat /etc/* want to know what it can effect on my Linux system what i was wanted to see the distribution of my sytem so cat /etc/*-release when i run this command it said that no such directory exist so tried the…
Rahul Mehta
  • 999
  • 3
  • 11
  • 13
0
votes
2 answers

Trying to connect to mysql via php command line through XAMPP (ubuntu/cakephp)

I am trying to run the cake shell through xampp and I am running into some issues. What works I can connect PHP to Mysql while running through apache (in web browser) I can run the PHP CLI in bash by typing php, I set up the bin folder under xampp…
Parris
  • 329
  • 3
  • 16
0
votes
1 answer

How can I run terminal commands at startup on a Mac OSX server?

For example, when the server boots I need to start Tomcat, and I need to start an Android emulator, and then issue some commands to it. These are on the path already. I'm familiar with Linux and understand the basics of Daemons, and I suspect it…
user11958
0
votes
1 answer

Command line to get all users from an AD group

with the following setup, I try to get all users in the de group. - domain.local (domain) - users_and_groups (ou) - orga (ou) - groups (ou) - de (group) I tried the following commands dsget group "CN=de,DC=domain,DC=local" -members dsget…
0
votes
1 answer

Determine ArcGIS version for on RHEL machine

I have a machine that is running arcgis but can't determine what version it is. The documentation I have found so far has been fairly sparse especially with regards to the linux server version of the software. Does anyone know a way to easily…
Wilshire
  • 538
  • 6
  • 19
0
votes
1 answer

Editing a file from command line adds strange chars to the file

I just edited a vhost file via command line sudo vi /srv/.../vhost.conf After saving and reopening to add something, strange chars where added to the file: E.g. AuthName "trac"n was AuthName "trac" before. Same with AuthUserFile. A ns was added…
DarkLeafyGreen
  • 283
  • 5
  • 7
  • 23
0
votes
1 answer

Is there anyway to know from what console is an user logged?

Is there anyway to know from what console is an user logged ? with the who command gives me: NAME LINE TIME COMMENT atomsfat pts/0 2011-08-02 08:52 (172.206.24.244) atomsfat pts/2 2011-08-02 09:01…
atomsfat
  • 113
  • 2
0
votes
1 answer

php scripts becomming defunct

I have a problem on a page "php scripts continues to become defunct", and appears to be the page1.php script. Parent process is terminated while child is not being terminate. I am using shell_exec function to run linux commands. shell_exec("killall…
Granadian
  • 25
  • 4
0
votes
2 answers

Windows 7: How to stop/start service from commandline (like services.msc does it)?

I have developed a program in Java that uses on a local SQL Server instance to store its data. On some installations the SQL Server instance is not running sometimes. Users can fix this problem by manually starting the SQL Server instance (via…
john
  • 1
  • 1
  • 1
0
votes
1 answer

setting the environment variable error

I am trying to set the environmental variable LD_LIBRARY_PATH to the directly i am currently working on. This is the command which i gave. export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH In response, i received the following error. LD_LIBRARY_PATH:…
CHID
0
votes
3 answers

Change data path for PostgreSQL

I run PostgreSQL as a Service. In Administration - Services, I can see the following path "C:\Program Files\PostgreSQL\8.4.3-3.1C\bin\pg_ctl.exe" runservice -w -N "pgsql-8.4.3-3.1C" -D "C:\Program Files\PostgreSQL\8.4.3-3.1C\data\" -D "C:\Program…
Amber
0
votes
1 answer

drbd module setup ubuntu 10.04 LTS

I am giving the following command. sudo apt-get install drbd8-utils drbd8-module-source \ build-essential module-assistant and when I do, the response I get is Note, selecting drbd8-source instead of drbd8-module-source drbd8-source is…
Aaron
  • 83
  • 1
  • 9