04-23-2010
*sigh* i'm retarded.. i wasn't using the full pathname for some files called later in the command.
So i was in the wrong directory and THAT was my issue. DOH!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:( :confused: what is performed by the following unix command:
grep -v Jane project1.txt
and
grep ' 5\..' janet.txt (1 Reply)
Discussion started by: Tendernisin
1 Replies
2. Shell Programming and Scripting
I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Discussion started by: Glider
1 Replies
3. Shell Programming and Scripting
Hi, I've created a script in csh that takes a file and checks it for mispelled words. Im almost done but I need to do two more things but I need help.
First, when displaying an incorrect word to the user, I need to show the line of the input file that contains the word.
Second,if the user... (0 Replies)
Discussion started by: hckygoli31
0 Replies
4. Shell Programming and Scripting
I'm using a PERL cgi script that uses rrdtool to make graphs. I can't get the syntax correct to use a degree sign (alt+0176 like this °) and also using a variable.
If I use single quotes, I can't call the variable. If I use double quotes, there is an extra symbol (Â) before the ° which goes... (2 Replies)
Discussion started by: audiophile
2 Replies
5. Shell Programming and Scripting
Hi everyone,
Is there anywhere I can find a complete table of all characters that must be escaped by the various UNIX shells and scripting languages?
It seems every command/shell/scripting language has different rules about what characters must be escaped.
I do a lot of searching and... (3 Replies)
Discussion started by: troym72
3 Replies
6. What is on Your Mind?
Please excuse my indulgence.
Thank you MG Siegler and Steve Jurvetson. But most importantly, thank you Steve Jobs.
8rwsuXHA7RA
The world has lost a genius. (1 Reply)
Discussion started by: Scott
1 Replies
7. Shell Programming and Scripting
I have a variable $max = -3;
It can be $max = +3;
I need to check if this variable is a positive/negative value.
if its positive, should print "positive" if not "negative"
How can this be done?
Thanks in advance (2 Replies)
Discussion started by: irudayaraj
2 Replies
8. UNIX for Dummies Questions & Answers
Hello there,
first of all: I do not want to become a hacker. you cannot do that. you cannot learn that from a book.
Don't think I'm some kind of a script-kiddie.
now that's settled let's start.
I've been trying around with a lot of OS lately.
I have backtrack5 installed on my notebook,... (10 Replies)
Discussion started by: Dr. Nick
10 Replies
9. Shell Programming and Scripting
I have a script which is reading value from property file and doing replacement in source location which contains multiple files.
property file has values
abc=xyz; yux=1;version=3.0;
bcd=123;apple==mango
when my script does search and reads value from property file.
its replacing value... (1 Reply)
Discussion started by: Shamkamde
1 Replies
10. Shell Programming and Scripting
Hello,
Below script works fine when I manually enter required information for each file. When it comes to shell in auto mode, it gives various errors.
I am under ubuntu 14.04 / trusty.
manual_run.sh:
#!/bin/bash
/usr/bin/ffmpeg -start_at_zero -copyts -i nicki.mp4 -c:v mpeg2video \
-b:v 500k... (3 Replies)
Discussion started by: baris35
3 Replies
LEARN ABOUT OPENSOLARIS
space
space(4) File Formats space(4)
NAME
space - disk space requirement file
DESCRIPTION
space is an ASCII file that gives information about disk space requirements for the target environment. The space file defines space needed
beyond what is used by objects defined in the prototype(4) file; for example, files which will be installed with the installf(1M) command.
The space file should define the maximum amount of additional space that a package will require.
The generic format of a line in this file is:
pathname blocks inodes
Definitions for the fields are as follows:
pathname Specify a directory name which may or may not be the mount point for a filesystem. Names that do not begin with a slash ('/')
indicate relocatable directories.
blocks Define the number of disk blocks required for installation of the files and directory entries contained in the pathname (using
a 512-byte block size).
inodes Define the number of inodes required for installation of the files and directory entries contained in the pathname.
EXAMPLES
Example 1 A sample file.
# extra space required by config data which is
# dynamically loaded onto the system
data 500 1
SEE ALSO
installf(1M), prototype(4)
Application Packaging Developer's Guide
SunOS 5.11 7 Feb 1997 space(4)