Search Results

Search: Posts Made By: oombera
6
3,385
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...
3,191
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...
3,191
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
3,423
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
3,000
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...
3,126
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?...
101,897
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.
3,039
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
15,647
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,804
Posted By oombera
Re: but the record contains space
I don't understand, kazanoova ... wouldn't the output be ab cdefr tab cdab tasdfg?
6,377
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,609
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...
5,712
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...
8,181
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,778
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,761
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
7,726
Posted By oombera
Sharkbait, are you a teacher? ;)
Sharkbait, are you a teacher? ;)
4,841
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...
3,216
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,843
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...
3,216
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,442
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...
38,227
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?
2,081
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
2,136
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 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy