1,817 Topics
| |
Hello, I am getting a syntax error with a shell script of mine that is eluding me...I am pretty new to this so if someone could help me out I'd appreciate it. Here is the part of the script that is throwing the error: [code] #!/bin/ksh # Kismet/PCX Loader # … | |
Shameless plug: [url]http://steve-parker.org/sh/sh.shtml[/url] A bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell. Centres on the Bourne shell, but mentions when bash differs. Does not cover ksh/csh (considered harmful). Applies to UNIX and Linux. | |
I need the shell script for the Gnome 2.6 Print Manager. | |
so i have been trying to learn how to manipulate text on my own and have gotten stumped... let's say i have a text file that says (highly simplified): people ordinary How would swap the order of the words.. I know i need to use sed and some kind of … | |
hi my friends who can tell me about *.x ? :o i mean .x extension is stand for what kind of files? :o cheers. | |
Hi I am new to all of this so please forgive me if my question is either really obvious or indeed in the wrong forum. I have had a script written for me that displays details of books e..t. title, author etc. The string which holds the author seems to … | |
Hi I needed some help on automating the installation of a software. During the installation of a software, you get various options. For eg. 1. the license agreeement screen gives you two options with two radio buttons. Choosing one selects Yes, I agree with the terms and conditions. And choosing … | |
Write a shell script (/bin/sh) called 'fileline' which is passed two command line parameters. The first parameter is the name of a file and the second is a number 'n'. The script should write the contents of the nth line of the file to a new file called 'out'. If … | |
Hi, I am uploading files to a server using HttpXCtl1.Request.PrepareFileUpload "nameoffile", txtURL HttpXCtl1.Post "http://www.myhost.com/cgi-bin/serverside.cgi" MsgBox HttpXCtl1.Response.Status The Response Status is: HTTP/1.1 500 Internal Server Error The serverside.cgi file on my server is as follows: #!/usr/bin/perl -w use CGI; $upload_dir = "/usr/home/myhost/www/ibp"; $query = new CGI; $filename = $query->param("nameoffile"); $filename =~ … | |
Hi everyone. I am fairly new to Linux and I am taking a UNIX course. I have been asked to write a shell script and I am having a little trouble. I was wondering if anyone could help me. Here are my instructions -- create a script called command find_big.sh … | |
I need to write the code for a script to count and display # of files and directories and then dispaly the # of each as well as the script name as output. I also have to sow a command to execut the script which I know already | |
Ada95 is a very capable, full featured language & is not just limited to DoD work.Any thoughts?Anyone ever used it? We need a AdA forum, you know some real stuff not just limited to simple things in life like C(ect) :lol: | |
This is not hwork. Trying to teach myself. I have to write a script that counts number of text, data, and html and C files in my home directory. I have to use case and loop. I have to display the total number for each file-type and also a count … | |
bash: #!/bin/bash DOMAIN=mydomain.com for client in ServerA ServerB ServerC ServerD do xhost +$client.$DOMAIN done MS-DOS: @echo off for..... crap..... I can't seem to get the for loop to work properly. Has anyone had much experience with batch files in DOS? I realize that running xhost inside of a batch file … | |
Any good libraries out there for C++ cgi implementation? | |
Hi, folks! See the examples: bash$ X="ls"; $X file1 file2 file3 *** Works correctly! bash$ X="ls | wc"; $X ls: |: No such file or directory ls: wc: No such file or directory *** Doesn't work! How to make the last command work correctly as first? Thanks in advance! Reginald0 | |
Hi All, when i run ./configure it checks for cc and gcc then says error: no acceptable cc found in $path. now i understand that cc and gcc are compilers and i belive that gcc should be on the system somewhere, but how do i put it in the $path? … |
The End.