Search Results

Search: Posts Made By: JustaDude
2,764
Posted By JustaDude
I've run into this before. For some reason my...
I've run into this before. For some reason my printf $4 which is the last variable on the print line did some sort of carriage return on the same line and covered up my output with the rest of the...
2,764
Posted By JustaDude
Thanks a lot for the help! Here's what I have....
Thanks a lot for the help!
Here's what I have. The file it's parsing is generated from an
"free -m:|egrep 'Mem|Swap' | awk '{ print $1, $2, $3, $4} > file.out

The contents of file.out are:...
8,964
Posted By JustaDude
Have you tried ssh user@host cat...
Have you tried
ssh user@host cat /path-to-file/file ?
2,764
Posted By JustaDude
awk conditions failing (special characters?)
This is really frustrating because I can't figure it out.

I'm running a health check script. One of the items I'm checking is the amount of memory on a server. I use the free command, which...
5,462
Posted By JustaDude
No, I can't edit another user's profile. ...
No, I can't edit another user's profile. Actually I can since I'm root, but since the DBAs use it whenever they log on they'll be, well, rather "unsettled" if I change their logins for my use.
...
5,462
Posted By JustaDude
Remoting sudo commands & bypassing bashrc
What I want to do is not unique, except that our environment has a twist.

I want to ssh to a remote server and issue a sudo command to run a script. This isn't working, but you'll get the gist.#...
Showing results 1 to 6 of 6

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