Search Results

Search: Posts Made By: TiznaraN
8,032
Posted By TiznaraN
Need help finding number of logins!
Let's say I am trying to find out how many times someone has logged into the machine. Use last to display all the different logins, several names pop up, some multiple times. All I have been able to...
5,194
Posted By TiznaraN
-aux errors for me, here's what I have now ...
-aux errors for me, here's what I have now

ps | awk ' /program/ {print $1} '

This is outputting the PID, isn't there a way to store the number in a variable rather than print it, maybe then...
5,194
Posted By TiznaraN
i have also tried ps | kill | awk I get kill...
i have also tried
ps | kill | awk
I get kill error and then the PID prints at the end =(

edit:

also if I manually kill the process after, the shell closes...if there's a much easier way of...
5,194
Posted By TiznaraN
Trying to kill a program via help command.
Hi all, I have a program and I'm trying to kill it. I'm probably going the longest way around of doing it but now that I've tried to get this to work for a few hours I'd appreciate some help :)
...
4,402
Posted By TiznaraN
era: there's 6720 files in the directory, and...
era: there's 6720 files in the directory, and every file has a number that i'm trying to pull, and each number is the same, the 1317401 when i put that into a regular calc i get the 8.8billion...
4,402
Posted By TiznaraN
Well it is a rather large number:8852934720 ...
Well it is a rather large number:8852934720

1317401 * 6720

is what it boils down to.
4,402
Posted By TiznaraN
isn't $NF the number of fields per line? I ran...
isn't $NF the number of fields per line? I ran this and got

7.67563e+10

how does one specify the last field of a line? If I could do that I think I would just have to substitute whatever...
4,402
Posted By TiznaraN
Unix beginner. Need some very basic help.
Hey all I'm working on a script that will scour a directory of 6000+ files for a line that at the end has a number.

Something like 'The number of outputs is: 39200'

I'm trying to devise a...
Showing results 1 to 8 of 8

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