About 1604 results
  1. bash - Transforming a sftp shell script command into a ftp command

    up vote 1 down vote favorite I am writing my first shell script ever and trying to figure out how to transform this command: sftp -o IdentityFile=/home/test/tes
  2. php - shell_exec is not working on server

    up vote 1 down vote favorite i am using shell_exec to get whois details of a domain. Everything is working fine on localhost but when i am uploading the script
  3. bash - Shell Script: kill program after set time if output file is empty

    up vote 2 down vote favorite I'm running a command from within terminal that goes through a directory checking for media files and then extracts closed captioni
  4. shell - SGE array jobs with multiple inputs

    up vote 0 down vote favorite So, I would like to get some help creating a shell script that will allow me to submit an array job where each individual job has m
  5. diff - Differences between two large files in shell script

    up vote -1 down vote favorite File 1: e4300-2076g4j e4300-2j82b4j e4300-43w8b4j e4300-4cppb4j e4300-5cppb4j e4300-6176g4j e4300-6hy8v4j e4300-6v7ch4j e4300-7062
  6. Elegant and efficient way to start GUI programs from terminal without spamming it (Bash or any Posix shell)

    up vote 7 down vote favorite 4 Every once in a while I have to fire up a GUI program from my terminal session to do something. It usually is Chrome to display s
  7. linux - wait for two PID in c-shell

    up vote 0 down vote favorite Following works for me: >sleep 20 & [1] 30414 >sleep 30 & [2] 30415 >wait $30414 $30415 This works all right until I want to write
  8. linux shell 检查进程PID

    2008年09月16日 - # # check the pid of such program # checkPid() {     if [ -z "`ps x | grep $1 | grep -v grep | grep -v $0 | awk '{print $1}'`" ]; then         echo "The $1 prog
  9. node.js - Is it possible for atom-shell (electron) to use system level API?

    up vote 1 down vote favorite Recently, I found atom-shell (https://github.com/atom/electron) an interesting tool to develop cross-platform application. I want t
  10. ubuntu - Shell command to search a string in many files with same name located in different folders

    up vote 0 down vote favorite I am using Ubuntu 12.04 LTS. I have many files named "urls.py" in many folders. I want to search a particular string named "unit/"