Search Results

Search: Posts Made By: Sotau
11,545
Posted By Sotau
Commands to monitor other user's activity
What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server?
7,860
Posted By Sotau
Sorry for forgetting to mention that my columns...
Sorry for forgetting to mention that my columns were separated by a colon. So I took the code that you gave me and added an -F and this is what I have so far:

awk -F ":" -v var="$access"...
7,860
Posted By Sotau
I tried running that code and it didn't work for...
I tried running that code and it didn't work for me. the error has something to do with my access variable, which in this case is "Student Access":

awk: { $NF="Student
awk: ^ unterminated...
7,860
Posted By Sotau
Replacing a column in a text file
Say I had a text file that contained four columns, like the following:

Mack Christopher:237 Avondale Blvd:970-791-6419:S
Ben Macdonor:30 Dragon Rd:647-288-6395:B

I'm making a loop that will...
2,571
Posted By Sotau
Just tried it and it worked, thank you.
Just tried it and it worked, thank you.
2,571
Posted By Sotau
When I try to run this script and enter 'Yes', I...
When I try to run this script and enter 'Yes', I get the following error:

webscript.sh: line 4: [Yes: command not found
2,571
Posted By Sotau
Having problem with if statement
Could someone help me out with this if statement? It's supposed to get a person's website, but it isn't working when I run it.

website=""
echo "Would you like to enter a website? Enter Yes/No"...
Showing results 1 to 7 of 7

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