Search Results

Search: Posts Made By: mehungry
2,324
Posted By mehungry
oh i see =/ Ugh I'm trying so hard to...
oh i see =/

Ugh I'm trying so hard to understand bash but I'm not sure how to make it easy to learn. For some reason I'm finding it really difficult lol, and as I said before I have to learn bash...
2,324
Posted By mehungry
hey! the output of uname -a is: SunOS...
hey!

the output of uname -a is:

SunOS *this part has my school's server address idk if I should leave that in here lol* 5.10 Generic_142900-02 sun4u sparc SUNW,Sun-Fire-280R

nothing happens...
2,324
Posted By mehungry
im using secure shell client to connect to my...
im using secure shell client to connect to my school's afs thingy
2,324
Posted By mehungry
hi! sure here it is! bash-3.00$ awk '{...
hi!

sure here it is!

bash-3.00$ awk '{
> print; # debug output of each line
> for( i=2; i <= NF; i += 2 )
> printf( "%d ", $(i) );
> printf( "\n" );
> }' processes.txt
ID: 35;...
2,324
Posted By mehungry
O, I see! Nice links :D Hmmm when I put...
O, I see!

Nice links :D

Hmmm when I put that code in and replace the last line with process.txt (which is the file I'm passing it), but the outputs I'm getting are 0 0 0 :(

---------- Post...
2,324
Posted By mehungry
Awesome! That was perhaps the most well done...
Awesome! That was perhaps the most well done piece of information relayed to me... EVER!

In my CS class we have to learn either bash or ksh on our own =/ I know Java and C++ but I'm finding this...
2,324
Posted By mehungry
Ah cool ;o Can you please explain the...
Ah cool ;o

Can you please explain the following to me (im noob :-( /cry):

%d, and \n?
2,324
Posted By mehungry
Need help with awk to get values from input (newbie here)
Hello everyone!

I have a small text file called processes.txt which contains a few lines in this fashion:
ID: 35; Arrival_Time: 0; Total_Exec_Time: 4;
ID: 36; Arrival_Time: 1; Total_Exec_Time:...
1,693
Posted By mehungry
Looking for help with parsing file contents in bash [newbie]
Hi

I'm just messing around with bash and trying to learn it because I have a course next semester dealing with OS design where we need to know how to use SSH client and either bash or ksh. I've...
Showing results 1 to 9 of 9

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