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
1 answer

ionCube - Works on CLI but not with HTTP

I'm trying to install ionCube loader on a CentOS 5 machine. I've installed php 5.3 & ionCube loader through the atomic yum repo. when i check on the command line, php says ionCube loads fine: php -v PHP 5.3.6 (cli) (built: Apr 19 2011 12:28:40)…
Ben
  • 367
  • 3
  • 21
0
votes
1 answer

PowerShell - type no inside every directory and open up notepad2

Do you know the notepad command in PowerShell or cmd.exe? I would like to do the same for NotePad2 I would like to type the following command inside PowerShell and open up the me.txt file; PS C:\Apps> no -me how can I configure that?
tugberk
  • 937
  • 4
  • 13
  • 30
0
votes
2 answers

Microsoft SQL alternative for Oracle's Imp and Exp command

Possible Duplicate: Microsoft SQL alternative for Oracle's Imp and Exp command I'm looking a command line tool or SQL command to export/import a table or complete database. Much like the imp and exp commands of Oracle databases. Any suggestions?
ferdyh
  • 183
  • 10
0
votes
2 answers

Extracting the 'In real life' value from finger

I want to get a user's real life name based to print during the login script. I'm using currently the following command: finger | grep $LOGNAME | head -1 | awk '{print $2 " " $3}' Is there any better way? I did not see in finger's man page that it…
RonK
  • 241
  • 1
  • 5
  • 13
0
votes
1 answer

How can I define a variable in a TCSH script that will not be exported to the process which invoked it?

I know that in KSH, if I write export A=B the process which invoked my script can evaluate ${A}, and if I write A=B, then ${A} will have no value outside of my script. How can this be done in TCSH? I only know of the style: setenv A B to set value…
RonK
  • 241
  • 1
  • 5
  • 13
0
votes
1 answer

Any technical reasons for avoiding GUI on 64-bit Windows Server 2008 R2?

I am new at setting up servers. I can see people reaching for console-only installations of web and SQL servers. I realize that low-quality graphics drivers and the simple fact that graphics driver took up a significant portion of memory space…
0
votes
2 answers

Which process creating cracker files?

A large number of cracker files with name FOO** are created by some of the process. I executed following command to found culprit process lsof -f -F /tmp/* But didn't found anything useful. Is there any better way to catch culprit process.
vnix27
  • 886
  • 2
  • 11
  • 19
0
votes
2 answers

Tutorial for installing and configuring a mailserver on CentOS

Anybody know of a good howto/tutorial/walkthrough on installing and configuring a mail server on CentOS using the commandline? I just got myself a fresh VPS. Last year I used a nice tutorial which basically was a walkthrough of installing /…
PeeHaa
  • 221
  • 4
  • 18
0
votes
1 answer

ios: how to stop output of a show command

Can anyone tell me how to break output of a show command in cisco ios? Say I don't want to see all of 'show run' and I got the info I need, what keys can I press to stop it from printing the rest of the output?
blsub6
  • 1,131
  • 6
  • 25
  • 45
0
votes
2 answers

Access a Network drive from another user from CMD (windows)

I have written PostgreSQL backups scripts that backup all the databases to file. pgAgent.exe (a scheduling daemon) starts the BAT scripts under the local postgres user. The normal setup is to backup to a local drive and get the backup program to…
0
votes
2 answers

wsname logfile to a filename using mac address or hostname

I am using wsname to rename workstations as they are deployed. i have a \logfile switch which changes the default location of the wsname logfile to a folder on the C drive. I want to change this to a network location however i need to be able to…
JohnyV
  • 938
  • 4
  • 26
  • 45
0
votes
3 answers

Command to insert/prefix characters in lines after searching for a phrase from a file

Similar to a question posted by me here earlier, am looking for a help in Linux command that performs/does the following that is subtle different from my original question: Searches for a particular word/phrase case-insensitively in a given file,…
Gnanam
  • 1,459
  • 13
  • 26
  • 32
0
votes
4 answers

How can I get a list of Programs doing Disk IO?

I have a server (running CentOS 5) and I need to figure out which programs (MySQL, Apache, etc) are doing the most Disk I/O? Is there a command that will allow me to calculate an average over time?
0
votes
3 answers

rsync: ssh unknown option -p2122

I run this command to replicate data from one server to another. It's been working for a quite a while. I have this setup as a cron job. Yesterday for some reason, it stopped working. I ran it manually and got this error: ssh -qt -p2123…
gAMBOOKa
  • 999
  • 6
  • 19
  • 34
0
votes
1 answer

How to create a windows user from the command line, using a password from a file

Im in a somewhat unique situation. I am trying to create a windows user, using the command line or a batch file. I know how to do that in the basic case: net user username password /add The problem is that i am doing this through an endpoint…