Solaris
   12 tags on

Solaris

  • All Sites

1 answer

How can I make a program overlay text ON TOP of a PostScript file?

How can I make a Ghostscript overlay text on top of a PostScript file? I found part of a solution here: How can I make a program overlay text on a postscript file? which suggests to do: gs -o ...

1 answer

Creating a folder structure from definitions on a json file

how can i create a folder structure using this json structure { "europe": { "poland":{}, "france":{}, "spain":{}, "greece":{}, "UK":{}, "germany":"txt" }, "Asia": { ...

1 answer

Controlling applications (sox)

When I call sox from Ruby using exec within my application, the command prompt does not let me return to my application until the selected file has completed playing. If I use IO.popen, once I ...

1 answers | 2 hours ago by user284377 on Stack Overflow stackoverflow.com
1 answer

Intercept and modify commands in bash scripts

I have some scripts and some commands in the scripts are like this ./executable arg1 arg2 .. argn I want to change the above command to LD_PRELOAD=/some/lib ./executable my_arg1 my_argn arg1 arg2 ...

1 answers | 3 hours ago by user on Unix & Linux unix.stackexchange.com
1 answer

What is the point of using “rm -P”?

Man page contains the following info regarding -P argument: -P Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and ...

1 answers | 3 hours ago by Jev Zelenkov on Stack Overflow stackoverflow.com
6 answers

Allow setuid on shell scripts

The setuid permission bit tells Linux to run a program with the effective user id of the owner instead of the executor: > cat setuid-test.c #include <stdio.h> #include <unistd.h> int ...

0 answers

Mercurial side-by-side diffs (at max term width)

I use extdiff in my ~/.hgrc... [extensions] hgext.extdiff = [extdiff] # add new command that runs GNU diff(1) in 'side-by-side' mode cmd.sdiff = diff opts.sdiff = -dbB --left-column -y This means ...

6 answers

How can I cleanly add to $PATH?

I'd like a way to add things to $PATH, system-wide or for an individual user, without potentially adding the same path multiple times. One reason to want to do this is so that additions can be made ...

6 answers | 4 hours ago by goldilocks on Unix & Linux unix.stackexchange.com
1 answer

Script to install app in iOS Simulator

I am trying to automate the process of building an app, running unit tests, and finally running UI tests. I am building the app via command line (xcodebuild -sdk iphonesimulator6.0) in some ...

1 answer

Creating a cronjob through script

Is there any way to create a cronjob in an automated way (script)? The only way i know how to create a cronjob is through contab -e which creates a temporary conf file that is, once modified and ...

1 answers | 5 hours ago by Jack Pettersson on Stack Overflow stackoverflow.com
3 answers

Command to cycle displays in Xfce

One can change displays in Xfce from GUI by choosing between Laptop Mirror Displays Extend to the Right Monitor Is there a command to cycle between these options? - so that I associate it to a ...

1 answer

What port uses my backportpackage or bzr?

I am working in a company what uses Ubuntu Precise on the desktops behind a proxy. The Proxy is available in /etc/environment and set as: http_proxy, https_proxy, ftp_proxy, no proxy and their ...

0 answers

Appending data to a file dynamically

I have a file with a javascript code and an array below it containing lots of data. I have to add data to the array from a log file. The log file gets data continuously added to it and the new data ...

1 answer

how can i run 3 while loops simultaneously in unix and update the output of each loop to database as soon we get the output

i have a program that must fetch information from database & after performing required commands in unix ,o/p must updated back the to database.here fetching information from 3 tables & output ...

1 answers | 5 hours ago by jenny on Stack Overflow stackoverflow.com
0 answers

error:unknown command 'terminal'.

It let's me sign in and then a box pops up. To update info, I can't cause my mouse wont move, I am looking at the answers for other things, and I'm totally lost, can someone simplfy the answer. Please ...

0 answers

How to start CAESES free?

I have downloaded the program CAESES free on my Ubuntu 14.04.1 LTS and unpacked it into the folder /home/xyz/Programy/CAESES-FFW_3.1.2_Linux.x86_64. The program developer proposes to use the bash for ...

2 answers

Is there a reliable, cross-platform (on *nix anyway) way to create a temporary file on another device?

I'm trying to write a test case for some code that should iterates over a filesystem tree, but should stop if a file is on another device. In writing tests for it, I considered creating a file in ...

0 answers

Execute command after inotifywait established watches

Inside shell script (test.sh) I have inotifywait monitoring recursively some direcotry - "somedir": #!/bin/sh inotifywait -r -m -e close_write "somedir" | while read f; do echo "$f hi"; done When I ...

3 answers

Shut down terminal sudo command

I would like to know which is the proper sudo terminal command to shutdown the computer gradually, saving everything, closing everything in the right order, and basically doing everything the computer ...

3 answers | 6 hours ago by Karavar on Ask Ubuntu askubuntu.com
1 answer

Postgres locale error

I have a Postgres database hosted on Digital River, on Ubuntu, and followed these instructions to install: But something is wrong with the locale settings and I cannot work out how to fix it. When I ...

0 answers

Shell Script comparing File to Directory not working with Linux works with AIX

I have this shell script that compares the contents of a file with the contents in a directory. It works wonderful using a AIX server but does not work in Linux. Seems it gets hung up on the last ...

0 answers

VMWare Error: Read-only file system during write on

I tried hundreds of forums and posts, but nothing seem to help! I have vSphere ESXi 5.5. and when starting ESXi the first time it created and formatted a storage automatically. For some reason I ...

1 answer

Is my Schefflera arboricola getting the right amount of light and water?

I have a Schefflera arboricola (also known as Strahlenaralie in German). I've placed it in my office so that it receives some sunshine, but not directly - I've put it behind a plastic plant (on the ...

1 answer

awk, IFS, and file name truncations

I have a simple script, Mac OS X, it performs a find on a dir and locates all files of type file and of size greater than +SIZE These are then appended to a file via >> From there, I have a file ...

1 answers | 6 hours ago by Scott on Stack Overflow stackoverflow.com
0 answers

hubot script load yml file, dont work with relative path

I am building a hubot script and I want to load a yml file in it. I am using the yamljs npm package to read the YAML file. The problem is that it allways says "No such file or directory" error. If i ...

1 answer

Open Windows file using unique ID

Is it possible to access a file in Windows Explorer or MS-DOS using the unique file ID only? I was thinking that I could type in something like {FILE_ID.VOLUME} ex. {2319237819273897.1} and the file ...

1 answer

How do I view raw system memory of a running process?

I am watching a video series where someone is changing memory of a program that is in runtime. I am trying to do the same thing but have a different operating system. He is able to locate all running ...

3 answers

Getting The Full Result from “ps”

How do I get the full width result for the *nix command "ps"? I know we can specify something like --cols 1000 but is there anyway I can the columns and just print out everything?

2 answers

How to updated node-gyp and/or interpret “node-gyp rebuild 2> builderror.log)”?

I wanted play around with mongo-client by Raynos. However, when I add "mongo-client" : "0.2.1" to my package.json dependencies, I get the following: (node-gyp rebuild 2> builderror.log) || (exit ...

2 answers | 9 hours ago by cathy.sasaki on Stack Overflow stackoverflow.com
3 answers

Replacing a dead disk in a zpool

I'm running Ubuntu Server 13.04 64-bit using native ZFS. I have a zpool consisting of 4 hard drives of which one died yesterday and now is not being recognized by the OS or the BIOS anymore. ...

3 answers | 9 hours ago by Marcus on Ask Ubuntu askubuntu.com
15 30 50 per page
1 2 3