I have flat file containg relative file names in a given directory on a Unix box. I'd like to be able to tar up all these files using a loop that reads the file list. I have tried this but o...
I have created the barcodes in pcl and postscript format. pcl Files are created . But i couldnt print the barcodes in laser printer. printer name is 'LexmarkProd' and "LASER-PROD". How should ...
I am a beginner with sed and shel scripting in general. I am trying to take this line :
"D:\SQL\Data\North_Data.mdf"
and replace the " with a single quote '
'D:\SQL\Data\North_...
I am writing a script to read a relative path from a text file, check to see if the file exists in the source directory, and then copy the file from source to desination. So far, I can read, c...
I'm trying to develop a script that will return a Dell system's warranty information by scraping this site:
http://support.dell.com/support/topics/global.aspx/support/my_systems_info/detail...
My Kix script returns the following, and I'm not sure why the %COMSPEC% at line 77 is invalid:Good day FigueroaDaniel because you have been selected as a
member of the WDrive mapping pilot th...
Suppose I have an XML file named test.xml with this structure:
<linkage id="X">
<target>AP_VENDOR</target>
<title>Parent Vendor</title>
<description>The parent of the specified Vendor...
Good afternoon all,
I'm hoping someone could help me fix an issue I'm having with my code. In the code below, I am trying to parse an file and run a series of SQL statements.
To do th...
This code works fine as long as the CurrentProject.path does not contain a comma. If it does, it truncates at the comma. I have no control over the name of the folder where the user will pla...
What are shell metacharacters like \ and >?
I have an awk script that is working fine, with one exception; I have a linr in the input text that looks like this:
For: BLOOMINGDALES GN (0003)
I need to assign just the store nu...
How do i print a uid_t variable??
I got this, i want to print in screen the uid_t variable:
void user() {
uid_t getuid(void);
gid_t getgid(void);
if (Condition) {
printf("UID ...
Ok this is the error I get after running this in cygwin
$ ./pull.sh
./pull.sh: line 6: [errlog: command not found
Sending "Rsync Transfer L..." |***************************| 100% of 596 B...
hi
-----script a.ksh----
multiple command ------
==================
===============
ssh username@servername <<EOT
mulitple command
---------script b.ksh--------
...
Hey guys. I need a shell script to create a TON of directories. I'm trying to break down the images on my social networking site and figure I would do it by their ID number. For example... ...
Does anybody know how you would write a shell script that would function like the 'find' command and not use find or locate, etc...?
Script should have 2 args... 1st arg is directory where se...
Not sure I'm in the right area but I need to write a script using the unix finger command to list the userid of over 200 users on our database. I can do this individually by using: finger last...
This is a sample script from the clonezilla opensource project.
I guess this will create a root and swap partition. With the swap partition size being "3000000".
Basicaly what I wantin...
I have a directory "multimedia/archive" with many subdirectories named like this: "00000", "00001", ... ,"01075".
The subdirectories contains different versions of many pictures. The director...
G'day All,
I've a shell script which I need executed when the computer start's up.
Been trying to get the login hooks to work under Mac OS 10.4.10, I've followed Apple's documentation w...
hi guys..
i want to do ssh and i want use same private & public( variable and alias) in remote machine.
how can i declare those variable in alias?
Hi:
My Server is a Linux Centos running Apache, Sendmail, etc.
I need a Script or a series of commands (in Bash Shell, to issue from the command line) to process a "/etc/passwd" file, li...
I have created an outlook prf modification that I need to get out to all of my users. I am trying to create some sort of logon script that will push this out. The command is outlook.exe /imp...
SHELL SCRIPT:I have a file https.cfg in my local disk which contains three bytes.I have to read these three bytes from that file and I have to convert first two bytes to an integer so that I c...
How do you move up the directory tree in kixtart. For example - shell "cmd.exe cd ..\%userprofile%\" returns an error - The filename, directory name, or volume label syntax is incorrect.
Thi...