Search Results

Search: Posts Made By: oombera
6
3,022
Posted By oombera
mobrien52748, The short description you gave...
mobrien52748,

The short description you gave is confusing at best. No one here can even begin to guess what it is you're doing if you don't explain a little bit more...

This goes for your other...
2,767
Posted By oombera
Your best bet is to read the man pages on these...
Your best bet is to read the man pages on these commands:

cd [ directory ]

If directory is not specified, the value of shell parameter $HOME is used as the new working directory.

pwd

pwd...
2,767
Posted By oombera
Not that I'm aware of ... by "last line" you mean...
Not that I'm aware of ... by "last line" you mean the last command that was entered? If you mean the previous directory, then it's cd ..The tilde changes to your home directory, so the first command...
Forum: Cybersecurity 04-30-2004
2,527
Posted By oombera
Re: Need Help
Since I doubt many people are going to let you break into their computer - even if you do give them your IP and OS :p - why not just get a second cheap computer and practice on that?
6
ls
2,762
Posted By oombera
Re: ls
And that's not a pipe, it's a number 1.

From the man page for ls:-l use a long listing format
-1 list one file per lineSo the OP intends to list all the details of each file and only one...
2,946
Posted By oombera
avhg1, what is some example input into this...
avhg1, what is some example input into this script? It looks like you're trying to accept user input... or are you feeding a file into the script?

Also, what are you trying to accomplish here?...
100,661
Posted By oombera
Re: Re: Getting yesterday DATE
Interesting work-around; it sounds like you'd end up with a large file in a short amount of time though ... Perderabo's script is worth taking a look at. It has a ton of functionality to it.
2,831
Posted By oombera
How about just reversing what his script did...
How about just reversing what his script did then? If the only time a backslash character shows up is right after a carriage return character, try:

sed 's/\\/\n/g' yourFile > anotherFile
Forum: Solaris 04-15-2004
14,959
Posted By oombera
http://www.microsoft.com/unix/ie/default.asp ...
http://www.microsoft.com/unix/ie/default.asp
Right from the source ... not sure if you can download it anywhere else.
4,314
Posted By oombera
Re: but the record contains space
I don't understand, kazanoova ... wouldn't the output be ab cdefr tab cdab tasdfg?
4,757
Posted By oombera
was just having a bit of fun kelam ... there's...
was just having a bit of fun kelam ... there's always a critic .... :p
6,248
Posted By oombera
Re: Copy code to vi
Where's this code coming from? Is it, like Norsk said, the output of a script? Are you just entering it on the command line?

Include the exact command you're using that's producing the undesirable...
4,942
Posted By oombera
First off, your "if" statement is incorrect.. you...
First off, your "if" statement is incorrect.. you should have:
if ((total=num1+num2+num3/3)); thenSecondly, you didn't actually tell the script to display the total! :o

And thirdly, you need to...
7,949
Posted By oombera
Read through this thread...
Read through this thread (https://www.unix.com/showthread.php?s=&threadid=12966&highlight=six+months+year) concerning a similar problem.

See if RTM's suggestions about installing the gnu version of...
3,434
Posted By oombera
Re: Making a variable equal a pattern
I think the problem does not have to do with assigning the variable, but with echoing it back. Try this:

> var=s* (or var='s*')
> echo "$var"

The quotes should prevent the contents of the...
2,604
Posted By oombera
I think examples would help here... What do...
I think examples would help here...

What do you mean, "old file name"? Do you mean there's gonna be a file called Filename.03012004.txt and you want to rename it to the current month...
Forum: Programming 03-04-2004
6,541
Posted By oombera
Sharkbait, are you a teacher? ;)
Sharkbait, are you a teacher? ;)
4,584
Posted By oombera
Re: Unpratical SED and GREP questions
"remove lines that start and end with the same word"
awk '$1 != $NF' yourFile > newFile

As you can see, these aren't necessarily "tough" examples. :)

You must've picked up a very general book...
2,663
Posted By oombera
I usually try code before I post it. I did this...
I usually try code before I post it. I did this time too. For me, it worked in ksh with double brackets, but not with single, so it seemed like a legit suggestion.That's our Perderabo ... mr....
1,645
Posted By oombera
Not sure what you're trying to do... if you want...
Not sure what you're trying to do... if you want to copy files from one directory to another and maintain their permissions, just use the cp command. But I'm hoping the question you're asking wasn't...
2,663
Posted By oombera
Re: can I use this coding
I'd use double brackets:
if [[ "${CURR_STATUS}" || "${CURR_STATUSTEST}" != "${NEW_STATUS}" ]]Besides that, it should work, but I'm not sure what you intend it to do. Basically, the statement will be...
13,080
Posted By oombera
Maybe before you completely give up, you could...
Maybe before you completely give up, you could try searching for the files since maybe your "mv" command is doing something unusual instead of displaying an error. But like Optimus, my system...
37,484
Posted By oombera
Perderabo's script would've give you 32 27 from...
Perderabo's script would've give you 32 27 from the last row, which is not what you wanted... or did you just make a typo?
1,810
Posted By oombera
Your wildcard on "ls" will run into the same...
Your wildcard on "ls" will run into the same problem. ;)

See this thread: grep multiple text files in folder into 1 text file...
6
1,933
Posted By oombera
Try throwing "-prune" into your find...
Try throwing "-prune" into your find command.
Showing results 1 to 25 of 500

 
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy