What do the single quotes in if [ `wc -c $i` -gt 3 ] mean??

$1 is DirectoryName $2 is txt (file extension) $3 is 500 (or any other positive integer) I don't understand t...

How to call one shell script from another shell script??

I have two shell scripts, a.sh and b.sh. How can I call b.sh from within the shell script a.sh? ...

'echo' without newline in a shell script?

I have a problem with echo in my script: echo -n "Some string..." prints -n Some string... and moves to the ne...

find: missing argument to -exec?

I was helped out today with a command, but it doesn't seem to be working. This is the command: find /home/me/downlo...

libclntsh.so.11.1: cannot open shared object file.?

I want to schedule a task on Linux by icrontab, and the task is written in python and have to import cx_Oracle modul...

Run Bash Commands from Mono C#?

I am trying to make a directory using this code to see if the code is executing but for some reason it executes with...

mkdocs command not found on OSX?

I'm following the mkdocs setup process here: http://www.mkdocs.org/#installation I'm not able to get mkdocs to do a...

'newline unexpected' Error in BASH script?

I have SHARED.SH file: #!/bin/sh g_dlg_yes=1 g_dlg_no=0 g_dlg_cancel=2 g_dlg_unknown=127 show_confirm_dlg() { ...

How can I check if a directory exists in a Bash shell script??

What command can be used to check if a directory exists or not, within a Bash shell script? ...

Opening file with spaces in Windows via Command Prompt?

I want to open a file (particularly video files) in its default program via script. When I come across a file name w...

Badly placed ()'s error with the following shell script?

This is the code snippet. Here i am seeing the badly placed ()'s error #!/bin/sh #!/usr/bin/perl -w # array dec...

Pseudo-terminal will not be allocated because stdin is not a terminal?

I am trying to write a shell script that creates some directories on a remote server and then uses scp to copy files...

chmod: changing permissions of ‘my_script.sh’: Operation not permitted?

when I'm trying to make shell script that error is shown ,what i must do ?? [rehamadel@localhost bin]$ sudo vi my_...

get “ERROR: Can't get master address from ZooKeeper; znode data == null” when using Hbase shell?

I installed Hadoop2.2.0 and Hbase0.98.0 and here is what I do : $ ./bin/start-hbase.sh $ ./bin/hbase shell 2.0.0...