Search Results

Search: Posts Made By: ksmarine1980
2,247
Posted By ksmarine1980
Email Headers
I'm trying to pick up some Unix SysAdmin skills on my own outside of work through the use of the "Unix and Linux System Administrators Handbook." I've found the exercises to be very beneficial, until...
5,139
Posted By ksmarine1980
Thank you, Cjcox! That's a huge help. Do you...
Thank you, Cjcox! That's a huge help. Do you understand what they mean by which processes were added to each route? That makes no sense to me.
5,139
Posted By ksmarine1980
Thank you, Hergp, that does help! In terms...
Thank you, Hergp, that does help!

In terms of which is closer to the actually internet - would it be 10.0.0.0 or 10.1.1.0, or neither? I still don't understand that part of the question, or "which...
5,139
Posted By ksmarine1980
Thank you cjcox. I appreciate the help. For now...
Thank you cjcox. I appreciate the help. For now I'm trying to understand this example before moving on to more complex scenarios.
5,139
Posted By ksmarine1980
UNIX Routing Tables
I'm trying to learn the basic in's and out's of networking on my own through the use of a book. When it comes to routing tables I'm completely lost. I apologize for the alignment of the table below....
1,857
Posted By ksmarine1980
Kernel Header Files
I'm trying to lookup the definition of the ext4 superblock schedule in the kernel header files, but I can't seem to locate the files. I'm running the most recent Raspian Debian Wheezy OS with kernel...
1,088
Posted By ksmarine1980
Foobar Linux / Server Question
I'm running Foobar Linux OS and setting up a machine to operate as a server box for a large social group.

The default distribution is:
/ 2GB
/var 100MB
...
9,815
Posted By ksmarine1980
I've run into one small issue with the space (SP)...
I've run into one small issue with the space (SP) character. On the command line, if I type ./morse.bash "CAT IN" the output is -.-.,.-,-,SP..,-.,EOT. I can't figure out why two .. are following the...
9,815
Posted By ksmarine1980
Now you're just showing off
Now you're just showing off
9,815
Posted By ksmarine1980
Thank you kind sir! I must say - for a...
Thank you kind sir!

I must say - for a novice trying to learn Unix, this board has been a godsend. I continue to be blown away by the number of people willing to help. Not only that, but they're...
9,815
Posted By ksmarine1980
Thank you both! I'd like to get the output...
Thank you both!

I'd like to get the output to print vertically (I find it easier to read that way), but want to keep the SP between words and the EOT at the end.
9,815
Posted By ksmarine1980
Thank you gentlemen. I'll give that a shot.
Thank you gentlemen. I'll give that a shot.
9,815
Posted By ksmarine1980
Morse Code with Associative Array
Continuing my quest to learn BASH, Bourne, Awk, Grep, etc. on my own through the use of a few books. I've come to an exercise that has me absolutely stumped.

The specifics:
1. Using ONLY BASH...
5,650
Posted By ksmarine1980
Thank you, Junior. I'm trying that out now. And...
Thank you, Junior. I'm trying that out now. And yes - I'm getting unary operator expected errors with my script.

---------- Post updated at 11:33 AM ---------- Previous update was at 11:18 AM...
5,650
Posted By ksmarine1980
Chubler! Thank you, I got that patched up, though...
Chubler! Thank you, I got that patched up, though I'm still getting garbage back.

COUNT=($1-1)
while read -r line; do
COUNT=$(( $COUNT +1))
if [ $COUNT >= $2 ]
then
echo "$COUNT"
fi
done
5,650
Posted By ksmarine1980
Bash script - printing range of lines from text file
I'm working on a new exercise that calls for a script that will take in two arguments on the command line (representing the range of line numbers) and will subsequently print those lines from a a...
10,653
Posted By ksmarine1980
Thank you kind sir! And thanks again to all who...
Thank you kind sir! And thanks again to all who helped
10,653
Posted By ksmarine1980
That's perfect, Don! The only line I'm not...
That's perfect, Don!

The only line I'm not sure I understand:
if [ "$line" != "${line#*#}" ]

I understand the reference to line from above, and the not equal (!=), but the #*# is confusing. I...
10,653
Posted By ksmarine1980
Thank you everyone for your help. I want to read...
Thank you everyone for your help. I want to read in the from from the command line, search for comments, then output to the screen: example ./myscript.bash <comments_script.sh. If no comments are...
10,653
Posted By ksmarine1980
Thank you Singh! I misread your post. I'll give...
Thank you Singh! I misread your post. I'll give it a shot, and appreciate your help.
10,653
Posted By ksmarine1980
Thank you, Singh! But I'm trying to do this...
Thank you, Singh! But I'm trying to do this without the use of sed, awk, grep, etc.
10,653
Posted By ksmarine1980
Bash script to find comments in file
As I stated in a previous thread - I'm a newbie to Unix/Linux and programming. I'm trying to learn the basics on my own using a couple books and the exercises provided inside.

I've reached an...
10,011
Posted By ksmarine1980
Thanks to all who helped me with it. I think I've...
Thanks to all who helped me with it. I think I've got it working. On to the next challenge :(
10,011
Posted By ksmarine1980
I'm using it as part of an exercise in the book....
I'm using it as part of an exercise in the book. In this respect, I want to use it (or tcsh)
10,011
Posted By ksmarine1980
Thank you, Carona. I'll try that but would like...
Thank you, Carona. I'll try that but would like to learn how to do it both ways. I'm learning UNIX through a book I bought and this was one of the exercises. Clearly - I'm not very good at it.
Showing results 1 to 25 of 39

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