This is the python code I wrote to open a specific nuke file and a specific 3de file. The nuke works and opens the specific nuke file but the 3de doesn’t. I get an error saying “3de: command not found”. I’m trying to run this in from Maya to open through the terminal. Answer The 3de ne…
Tag: linux
how to create putty shortcut to jump directly to chain ssh? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Logstash not producing output
I have just installed logstash 1.5.3 on a Linux machine. Details: When I try to run the basic “hello world” setup I get nothing on stdout. Any ideas why? I installed this on my Windows machine and am able to run it there. Output to file is also not working: The file “logtest1” is not e…
Compare time-stamp of a remote file with a local file using Ant
I have an installer file on my remote machine with Installer-000.zip name and i want to copy that file into my local machine(linux-CentOS) under /media/Data/Installer/ directory using ant ftp task. I am able to copy the installer from remote server to my machine if the installer is not already present in my m…
Copy network file from a Linux host to my Linux server using PHP
I am trying to retrieve a network file from an OpenSUSE 13.1 Host to my OpenSUSE 13.2 Webserver, but I don’t seem to have any success. First I check if target directory is a directory: In this case the function is_dir() returns FALSE, although the folder exists and has 777 permisions, the IP is correct,…
Find differences between files only on lines with specific words [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Repack tar.gz to tar and exclude some files
I have a big backup.tar.gz file (260 GB) and about 160 GB of free storage space. Backup file contains three big dumb file (old backups, about 190 GB), which is not needed. So I want to untar backup.tar.gz to pipe excluding some files and tar it back without gzip. I have a text file, which contain names of dum…
How to reuse a function defined in another bash file?
I have a utility function that I used a lot (assertReturnStatus()). I’d like to define it in a utility file (utility.sh) and reuse it in other bash scripts. How can reuse the function from another bash script file? Thanks. Answer You need to “import” the first file in the second. Be warned t…
linux: sigwait() takes precedence over pthread_sigmask(SIG_UNBLOCK)?
In a program, SIGCHLD is blocked from main thread, then thread “THREAD_1” is doing sigwait(), thread “THREAD_2” which forks a child process and kills it, in this thread I called pthread_sigmask(SIG_UNBLOCK, &set, 0) to unblock SIGCHLD before killing the child. But SIGCHLD is still …
Inserting text in vim causes each line to be shifted right
When I copy some text from one opened window (browser and text editor) to vim by pressing Shift + Insert, The text is inserted in a way that each consecutive line is shifted right with progressive amount of tabs. Meaning that second line is shifted by 1 tab, 3rd line is shifted by 2 tabs, 4th line is shifted …