Sponsored Content
Full Discussion: Problems with Space at path
Top Forums Shell Programming and Scripting Problems with Space at path Post 302263006 by babi4 on Sunday 30th of November 2008 05:28:35 AM
Old 11-30-2008
Thanks Smilie
 

10 More Discussions You Might Find Interesting

1. AIX

Problems to show the real used space

Hello everybody! I have the next problem, the oraganization has a p570 with a DS4300 on a SAN, running Oracle. The file systems of TEMP and UNDO were full, I eliminated some large files, (about 4 GB), but everytime that I realize this operation, it takes about 20 or 30 minutes to show the new... (1 Reply)
Discussion started by: GEIER
1 Replies

2. Solaris

Space on device problems...

Ok, don't shoot me! I have looked all over the forum for the issue I'm having and I don't think its a duh delete some files or I deleted them but its still showing 100% type thing. This morning one of my servers starts crying that it can't write log files and I can't use vi etc.... when I check... (1 Reply)
Discussion started by: kingdbag
1 Replies

3. SCO

Xenix Problems - No space on dev 1/40

Hello - I'm a newbie to these forums. Please excuse me if I am posting in the wrong area. My dilemma. The HD on our ancient Xenix system apparently is full. I receive the "no space on dev 1/40" prompt. This occurred after I attempted to purge some unwanted files. This system runs our small... (1 Reply)
Discussion started by: gmbrickley
1 Replies

4. Shell Programming and Scripting

File path with space as external input to the program

Hello I am getting error when the file (Folder or Application) path having space is given as external input to the shell program. It works fine for the files which has no spaces in the file name Thans, (5 Replies)
Discussion started by: keshav.murthy@r
5 Replies

5. Shell Programming and Scripting

sftp how to deal with space in path to dir?

OK I am trying to use something similar to this: #!/bin/sh echo "OK, starting now..." sftp -b /dev/fd/0 user@remotehost <<EOF cd pub ascii put filename.txt bye EOF only difference is the dir I need to cd to has a space in it like this /Import/Server/Prospect File ,... (3 Replies)
Discussion started by: NewSolarisAdmin
3 Replies

6. Shell Programming and Scripting

Need to execute a command on a path with a space in it...

Hello, I need to execute the following command in a script: /usr/bin/ssh 205.21.1.1 vmware-cmd -v /home/virtual machines//Machine.vmx"createsnapshot Weekly_Backup >/dev/null 2>&1 The problem is that there is a space between virtual and machines and when I run the script I get no such... (2 Replies)
Discussion started by: mojoman
2 Replies

7. UNIX for Dummies Questions & Answers

Problems with my PATH

I've been googling all morning and i cannot for the life of me find the answer :) Basically, i'm setting my path in my .profile as: #!/bin/bash # export ORACLE_HOME=/oracle/product/10.2 export ORACLE_HOME=/oracle/product/9.2/ export TNS_ADMIN=/oracle/network/clients... (1 Reply)
Discussion started by: gman
1 Replies

8. Shell Programming and Scripting

Setting path variable with a space.

Hi I am using MKS Toolkit c shell. I am trying to set a path variable something like c:/Program Files/blah/blah so set path=(c:/Program Files/blah/blah) this, however, does not work as it splits this thing up into 'c:/Program' and 'Files/blah/blah'. Does anyone have any ideas on... (9 Replies)
Discussion started by: vas28r13
9 Replies

9. OS X (Apple)

Problems with path using UNIX tools in mac

Hello, Glad I found this forum.... Well I'm starting using UNIX tools in macOS for bioinformatics (Python....). I know that in UNIX every installed tools go to usr/bin.... But since in mac I do not have access to it I wanted to know were to create and install tools? Can I recreate a pseudo UNIX... (3 Replies)
Discussion started by: 454rocks
3 Replies

10. UNIX for Beginners Questions & Answers

Space in PATH variable

Hi All, I did a review of some threads to see if someone had come across this problem. My system is an oracle virtual box solaris 10 installed on a windows 10 system. Right now I am learning scripting and am just playing with the env variables. I am trying to update the PATH to... (9 Replies)
Discussion started by: bdby
9 Replies
SHUNIT2(1)																SHUNIT2(1)

NAME
shunit2 - A unit test framework for shell scripts SYNOPSIS
shunit2 unitfile DESCRIPTION
shUnit2 is a xUnit unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc.. If you have ever had the desire to write a unit test for a shell script, shUnit2 can do the job. You can either run shunit2 directly from the commandline and specify the unit file or directly source the shunit2 executable. If you directly execute shunit2 and don't specify a unitfile shunit2 assumes a empty testfile and will return without an error message. EXAMPLE
Simple script to test if 1 equals 1 #! /bin/sh testEquality() { assertEquals 1 1 } # load shunit2 . shunit2 Execute shUnit2 unit tests directly from the commandline shunit2 /path/to/unit/file OPTIONS
shunit2 does not support any commandline options at all. You can either source shunit2 to execute your unit tests or directly run shunit2 as a commandline script. SEE ALSO
For more information see http://code.google.com/p/shunit2/ or have a look at the installed documentation in /usr/share/doc/shunit2/ AUTHOR
shunit2 was written by Kate Ward <kate.ward@forestent.com>. This manpage was written by Ulrich Dangel <mru@spamt.net>. 2.1.6 03/25/2012 SHUNIT2(1)
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy