Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: ilikecows
2,275
Posted By ilikecows
They made an honest attempt to the point of...
They made an honest attempt to the point of installing FreeBSD to test their answers. It takes a long time to learn UNIX and for a beginner it is often more helpful to explain things than send them...
4,330
Posted By ilikecows
What exactly are you trying to do with this...
What exactly are you trying to do with this script?
2,275
Posted By ilikecows
1. Because the PATH variable defines the...
1. Because the PATH variable defines the directories your shell looks in for commands you type that aren't built into the shell. For instance if you type ls, and ls isn't an internal shell command,...
29,313
Posted By ilikecows
Csh Programming Considered Harmful
I have noticed a few posts asking questions about c shell scripting these past few days. This a good read for those that currently or are thinking about writing a csh script:

Csh Programming...
966
Posted By ilikecows
replace yourfile with the name of the file you...
replace yourfile with the name of the file you are trying to read and add line numbers to
5,889
Posted By ilikecows
Is there a reason why you cannot create a group,...
Is there a reason why you cannot create a group, chgrp the file to the group, and put users who need to read the file in the group?
966
Posted By ilikecows
grep 'USER PID PPID %CPU %MEM STARTED TIME VSZ...
grep 'USER PID PPID %CPU %MEM STARTED TIME VSZ RSS COMMAND' yourfile| cat -n
2,066
Posted By ilikecows
cat file | awk -F\@ '{print $1}' > newfile ...
cat file | awk -F\@ '{print $1}' > newfile

The above command is the first thing that comes to mind. There are other ways to do it, its just the way I find easiest.
2,066
Posted By ilikecows
pipe the column of words to sed: if it is...
pipe the column of words to sed:

if it is in a file:
cat mailfile | sed 's/.*@//g' > outputfile
Do NOT redirect to the same file you read from because you will end up with a blank file.
if it...
3,629
Posted By ilikecows
get rid of the slash and -e after /bin/bash/ ...
get rid of the slash and -e after /bin/bash/
/bin/bash << END
instead of
/bin/bash/ -e
Forum: Programming 02-04-2011
3,457
Posted By ilikecows
Your program reads some data into integers from...
Your program reads some data into integers from publicidad.in.

Check publicidad.in to make sure you aren't reading a floating point value into an integer.
Forum: Red Hat 01-31-2011
2,137
Posted By ilikecows
Their are linux distributions out their for PPC....
Their are linux distributions out their for PPC. Check DistroWatch.com: Put the fun back into computing. Use Linux, BSD. (http://distrowatch.com)
Forum: Solaris 01-22-2011
6,212
Posted By ilikecows
I would connect a known good machine to the same...
I would connect a known good machine to the same cable with the same network configuration as the Solaris 10 machine so you can be 100% certain whether or not its related to the Solaris machine or...
Forum: Solaris 01-22-2011
3,594
Posted By ilikecows
It sounds like you have the auto-boot? OBP...
It sounds like you have the auto-boot? OBP variable set to true and the boot-device variable set to something without an OS or doesn't exist. At the ok prompt try doing a simple boot disk.

ok...
Forum: Red Hat 01-21-2011
10,174
Posted By ilikecows
verdepollo is correct, the problem appears to be...
verdepollo is correct, the problem appears to be the mission " on line 12. According to the Solaris csh man page,

if (checkstuff) then
endif

is the correct syntax
4,988
Posted By ilikecows
Which application is asking for the password?...
Which application is asking for the password? Have you considered using expect?
Forum: What is on Your Mind? 12-16-2010
1,442
Posted By ilikecows
I like to be able to look at myself in the mirror...
I like to be able to look at myself in the mirror and like the person I see. I think money and love are meaningless if you can't look at yourself and like what you see.
Forum: Solaris 12-16-2010
8,763
Posted By ilikecows
I'm not understanding what you are asking. Are...
I'm not understanding what you are asking. Are you asking how to mount an FC volume?

Usually if you look at the menu format provides, all detected FC volumes should show up. If not run fcinfo...
Forum: Solaris 12-16-2010
4,060
Posted By ilikecows
I was able to solve the problem but I don't...
I was able to solve the problem but I don't understand why or how the fix works. Removing the keep state keyword seems to allow the IP fragments through.
Forum: Solaris 12-12-2010
4,060
Posted By ilikecows
ipfilter blocking ip fragments
For some reason ipfilter is blocking inbound fragmented ip packets (the packets are larger than the interface's MTU) that are encapsulating UDP segments. The connection works, so I know ipfilter is...
Forum: Linux 12-02-2010
21,057
Posted By ilikecows
If it doesn't matter if it is set to a known...
If it doesn't matter if it is set to a known password you could overwrite the second field of the shadow file with a known hash.
875
Posted By ilikecows
You could create a group and put all users in...
You could create a group and put all users in said group that need access to the files you are referering to.


chmod 775 filename
2,175
Posted By ilikecows
@bakunin, The whole point of the example was...
@bakunin,

The whole point of the example was to show that a delimeter is an arbitrary field separator. Generally, if working with already existing files such as a csv file, a delimiter has been...
16,512
Posted By ilikecows
#!C:/perl/bin use warnings; use strict; ...
#!C:/perl/bin
use warnings;
use strict;

my $file1 = $ARGV[0];
my @input = "";
my @line;
my $outfile = $file1 . updated
open FILE1, "<$file1"
or die "Can't open $file1: $!\n";

open...
7,049
Posted By ilikecows
var1="hello" var2="world" /bin/echo -e...
var1="hello"
var2="world"
/bin/echo -e "$var1\t$var2"
Showing results 1 to 25 of 199

 

Featured Tech Videos

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