Category "command-line"

Increment variable value by 1 (shell programming)

I can't seem to be able to increase the variable value by 1. I have looked at tutorialspoint's Unix / Linux Shell Programming tutorial but it only shows how to

PostgreSQL: encoding problems on Windows when using psql command line utility

I'm working in a centralized monitoring system on Windows 2008 R2, I have installed a PostgreSQL 9.3 to use psql from the command line. When I try to access to

Total Commander zip command line

is there a command line command to use the Total Commander's pack/unpack function? I know how to use 7Zip and command line but I want to know if there is also a

Get date and time on the same line

I can use date /t and time /t to get the date and time, but it doesn't display it next to each other. I wanted to make it do that and display like this: Curren

List all files with 2 timestamps, size, but without path or dir

Windows, Command Prompt, need to generate a .txt file output containing of all files from a big and complex dir tree with one (1) line for each files as: Creat

How can I return to the previous directory in windows command prompt?

I often want to return to the previous directory I was just in in cmd.exe, but windows does not have the "cd -" functionality of Unix. Also typing cd ../../..

Vim: from command line, go to end of file and start editing?

I can cause vim to position the cursor at the last line of a file by invoking it with an argument of +: vi + myfile # "+" = go to last line of file

Creating a batch file that opens google chrome and puts input into the search box?

So I am just playing with batch files and was curious if it was possible to create a batch file that opens the google browser and without typing into the search

Angular - ng: command not found

I'm trying to learn Angular and my knowledge in terminal is beginner. After I installed Angular and then type ng new my-project. I get the response ng: command

Run function in script from command line (Node JS)

I'm writing a web app in Node. If I've got some JS file db.js with a function init in it how could I call that function from the command line?

How do I determine the MS Access Install path

I have a commandline invocation of MS Access like so: %Programfiles%\Office11\msaccess.exe How can I eliminate the "Office11" part so that the resulting invo

Linux - Command a2ps For PDF File

it is possible to print a PDF file with the a2ps command? If someone could give me an example set?

'If' statements and one line Python scripts from the command line

Why do I receive a syntax error for the following one-liner Python code? python -c 'import re; if True: print "HELLO";' File "<string>", line 1 impo

Launch Pycharm from command line (terminal)

I want to try out PyCharm for sage mathematics development. Normally I run eclipse to do sage development, but now I want to try it with PyCharm. To launch ec

How to check the checksum through commandline?

I want to do something like this on commandline on my UNIX variant if (shasum httpd-2.4.7.tar.bz2 == 19asdasdasd56462e44d61a093ea57e964cf0af05c0e) echo 'good t

Backspace in zsh fails to work in quite the strange way

I'm on a fresh Virtualbox install of CentOS 6.4. After installing zsh 5.0.2 from source using ./configure --prefix=/usr && make && make install

Is it possible to use output redirections from a cmd file using start?

I want to have a cmd file with something like: :one start /wait (blabla1.exe -q -m 1>blabla1.log 2>&1) :two start /wait (blabla2.exe -q -m 1>bl

Xcode "Build and Archive" from command line

Xcode 3.2 provides an awesome new feature under the Build menu, "Build and Archive" which generates an .ipa file suitable for Ad Hoc distribution. You can also

Xcode "Build and Archive" from command line

Xcode 3.2 provides an awesome new feature under the Build menu, "Build and Archive" which generates an .ipa file suitable for Ad Hoc distribution. You can also