Search Results

Search: Posts Made By: featheredfrog
2,804
Posted By featheredfrog
A simple reading of the "date" manpage tells you...
A simple reading of the "date" manpage tells you this:

Today is 20160901, so

$ date +%A -d 20160901
Thursday
Invalid?
$ date +%A -d 20160431
date: invalid date `20160431'
13,853
Posted By featheredfrog
Dual Boot vs VM vs Wine?
Getting a new (for me) lappy, and I was wondering about the experiences of linux users here (direct me to a different forum if necessary, please. RTFMs also welcome) w/r/t linux and win...
Forum: Red Hat 10-02-2015
2,538
Posted By featheredfrog
You could always delete the history file or munge...
You could always delete the history file or munge the instance of the password to something else (sed is your friend)
1,356
Posted By featheredfrog
Really ought to be in some "newbs" forum.
This is in no way the most efficient of methods, but this should get you started. Since ls always sorts the fname:
fname=`ls FILE* | head -1`
gets you the earliest of the FILE filenames. If you...
1,612
Posted By featheredfrog
Thank you Don!
Thank you Don!
985
Posted By featheredfrog
The shell fanatic is back. Somebody should time...
The shell fanatic is back. Somebody should time these examples (and maybe one using perl, also):$ cat foodata
X a_2 a_3 s_4 t_6
b 0 0.9 0.004 0
c 0 0 1 0
d 0 0.98 0 0
e 0.0023 0.96 0 0.0034
...
1,141
Posted By featheredfrog
What, at the [[ $file != point do you intend...
What, at the [[ $file != point do you intend $file to contain?
3,540
Posted By featheredfrog
How about uuencoding and rot13ing the sensitive...
How about uuencoding and rot13ing the sensitive data?
2,209
Posted By featheredfrog
What output are you getting from this. What...
What output are you getting from this. What output do you WANT but are not getting?
3,540
Posted By featheredfrog
You're going to have to be more specific. ...
You're going to have to be more specific.
What's a "column" in this context? Is there a language requirement? How about an example input and output?

Is this a homework problem? If so, see...
6,018
Posted By featheredfrog
or, if you prefer perl: $ perl -e '{while...
or, if you prefer perl:

$ perl -e '{while (<>) {chomp;print;print " ".(join ("_",(split "_to_",(split " ",$_)[1])));print "\n"}}' <input.txt
zoneobjectrename "AAA_to_BBB" "AAA_BBB"...
3,286
Posted By featheredfrog
No, you don't need your own etc directory, you...
No, you don't need your own etc directory, you should again get rid of it: /etc is a top-system-level directory where control files are kept, like hosts (the other machines on your network that your...
3,286
Posted By featheredfrog
You're not copying the /etc/motd file, because...
You're not copying the /etc/motd file, because you do not have one. That is now clear. I recommend you

$ cd
$ rm -rf ~/etc ~/motd # NOT /etc!

create an /etc/motd file (or get someone to do...
3,286
Posted By featheredfrog
You didn't do the "ls -l /etc/motd" to show me...
You didn't do the "ls -l /etc/motd" to show me it's there. You DO have an empty /motd, but it's in the wrong place, ie: NOT in /etc

---------- Post updated at 09:50 PM ---------- Previous update...
3,286
Posted By featheredfrog
I'd like to see the results of a pwd when you're...
I'd like to see the results of a pwd when you're in the test directory.
I'm confused by your prompts. Please issue the following commands:
$ ls -l /etc/motd
$ cd ~
$ mkdir test
$ cd test
$ cp...
Forum: Solaris 08-20-2015
1,813
Posted By featheredfrog
A little googling ("identd on solaris 11")...
A little googling ("identd on solaris 11") indicates it's been an unresolved issue for over two years. Guess Oracle isn't interested. You may have to build a linux box and run one of the many...
3,286
Posted By featheredfrog
Seeing some error messages would be a help, but: ...
Seeing some error messages would be a help, but:


IS there an /etc/motd file to copy?
Are you leaving a blank space between /etc/motd and the dot?

$ mkdir test
$ cd test
$ cp /etc/motd...
5,046
Posted By featheredfrog
Put an extra blank line following the...
Put an extra blank line following the "Content-type: text/html"

Oh, and why do you need to uuencode a .csv file?
2,856
Posted By featheredfrog
$echo :61:D100,74NCH1 :61:D797,50NCH2...
$echo :61:D100,74NCH1 :61:D797,50NCH2 :61:D89,38NCHK2 :61:D99,38NCHK12 :61:D79,38NCHK22 :61:D29,38NCHK5 | sed -e 's/ :/\
> :/g'
:61:D100,74NCH1
:61:D797,50NCH2
:61:D89,38NCHK2
:61:D99,38NCHK12...
5,663
Posted By featheredfrog
You say you don't have date -d Do you have...
You say you don't have
date -d
Do you have the date command without the -d option? If you do, something like

$ date "+%Y"
2015
$
does the trick on my system. "man date" and search for...
Forum: Red Hat 08-17-2015
1,981
Posted By featheredfrog
In /etc/sudoers, you should be able to find a...
In /etc/sudoers, you should be able to find a line or lines that look like


## Allows people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
%wheel ALL=(ALL) NOPASSWD: ALL...
1,416
Posted By featheredfrog
try using $ lsof | grep /siebel/sfs/tmp/dumpto...
try using $ lsof | grep /siebel/sfs/tmp/dumpto see what other process may be holding files open in that directory
7,803
Posted By featheredfrog
Confused about ending commas. Some lines end in...
Confused about ending commas. Some lines end in commas and others don't: this differs between file1 and file2. Are they actually that different or are these typos?

Are there constraints on the...
2,929
Posted By featheredfrog
even though #from man sh string1 ==...
even though
#from man sh
string1 == string2
string1 = string2
True if the strings are equal. = should be used with the test
command for POSIX...
Forum: Red Hat 08-04-2015
7,258
Posted By featheredfrog
Just an obnoxious question: are you forced to...
Just an obnoxious question: are you forced to use this obsolete version of RH? My first remark would be, unfortunately, to upgrade the install so you have access to the latest versions of the...
Showing results 1 to 25 of 28

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