Search Results

Search: Posts Made By: MuntyScrunt
721
Posted By MuntyScrunt
If [ ] or not?
As far as I can see from all the examples I can find the following is correct:

if [ "$x" = "valid" ]; then

So, if that's how an if has to work, and a command should be within "$(command)" why...
1,253
Posted By MuntyScrunt
Debian, string in string.
Example, check if user is in a group.

echo groups
Berty adm, dialout, cdrom, foo, foo

how to check that 'dialout' is in that output

I thought of awk '{print $x}' but x won't aways be the...
4,377
Posted By MuntyScrunt
I will look into it now. Thank you. ---...
I will look into it now. Thank you.

--- Post updated at 02:47 PM ---

iperf is great for point to point, and I can set off a few nodes, but the server seems to fall over quite often without any...
4,377
Posted By MuntyScrunt
Network stress test.
Hi there.

First things first, this is nothing to do with the internet or ISP speed, I know what that is, I know what it's doing.

I have a cluster of 128 single board computers running a branch...
995
Posted By MuntyScrunt
Smbtree output, hostname?
Just playing about with Samba today, if I run smbtree on a couple of clients I get:

WORKGROUP
HOME
\\P_151 Samba 4.5.12-Debian
\\P_151\IPC$ IPC...
6,351
Posted By MuntyScrunt
Holding cursor position on one line
Hi there.

It's easier to explain this with a pseudo code, I hope this makes sense:

var1=hello
echo $var1

some kind of loop
echo loop counter
done

How do I hold the cursor position...
2,627
Posted By MuntyScrunt
Thanks folks. Some of this made it into the...
Thanks folks. Some of this made it into the script and it works perfectly.

There is one outstanding issue which I can't find a way around. I thought it would be great if the ssh session could...
2,627
Posted By MuntyScrunt
I've actually had some time to look into this...
I've actually had some time to look into this today, and with 'some help' from google I think I have it sorted out. Or will when I get the wrong lines right!

While I'm at it, could someone please...
2,627
Posted By MuntyScrunt
Ssh on ping result?
I still haven't had chance to read the entire Debian manual, which I promise I will do as soon as I can, and I will start putting info back into this forum.

However, for the mean time, could...
1,336
Posted By MuntyScrunt
Ok, well incorporating those couple of things...
Ok, well incorporating those couple of things (I'm still using cat. I like cat. I have one!) does make a difference, it now loops for two nodes, it resets at least one of them, them closes my ssh...
1,336
Posted By MuntyScrunt
Rsh reboot in a loop?
Hi folks. I'm trying to get the following script working for rebooting a bunch of clients. Up to now I've been using PSSH, but when they all startup again at the same time I get a few mount...
2,112
Posted By MuntyScrunt
Pc's dropping connection to NFS
Hi there.

I have a problem with pc's dropping their mounts to a network Nas. The Nas is a Synology DiskStation, it has enough concurrent connections which I think off the top of my head is about...
623
Posted By MuntyScrunt
Finding threads.
What's the easiest way to find my own threads on this forum?

Thanks.
3,408
Posted By MuntyScrunt
Sorry, reply was meant to be a post! ------...
Sorry, reply was meant to be a post!

------ Post updated at 02:22 PM ------

I am very much using Blender and getting good results with a small cluster. I have asked on Blender Artists if there...
3,408
Posted By MuntyScrunt
Cluster vs Super
Hi there.

I'm currently playing around with a small cluster of mini boards running Debian. Or Raspbian to be precise. Each node is given a datafile and renders animation frames. This is as much...
3,408
Posted By MuntyScrunt
echo to etc file
Hi there.

I would like to add a mount line to a cluster of mini servers, quite a few of them. I need to do this remotely with pssh.

The problem being ssh sudo echo snd ssh sudo fprint ...
1,861
Posted By MuntyScrunt
ssh multiple servers
Hi folks.

I'm pretty new to unix, while I'm learning a lot I'm finding bash scripting quite confusing. Im sure it's not really, my head just hasn't clicked with it.

Anyway, I need a script...
3,408
Posted By MuntyScrunt
ahhhh. I like pkill. Many thanks.
ahhhh. I like pkill.

Many thanks.
3,408
Posted By MuntyScrunt
Echo/kill pgrep
Hi folks. I'm wondering why the following doesn't work and hoe to fix it...

I can:
# pgrep foo
1234

I can:
# echo | pgrep foo
1234

But I can't
# kill | pgrep foo
kill: usage: blah...
1,017
Posted By MuntyScrunt
The file would never be in the same directory,...
The file would never be in the same directory, that wouldn't make any sense.

Example:

I want to copy the file /mnt/g/blender/projects/raider_ship_3000_frame_test_run.blend

And I want to...
1,363
Posted By MuntyScrunt
PATH problem
For the sake of not going insane and not buggering a load of needed system stuff, I have created a dir /mybin. (This is a Debian system.)

I have then edited the /etc/profile and /etc/login.defs...
1,080
Posted By MuntyScrunt
Yeah, I gave up on what I really wanted and went...
Yeah, I gave up on what I really wanted and went with keys, this is far from ideal, if you knew the entire situation you'd understand. Anyway...

Keys for now have helped, except, they are user...
1,080
Posted By MuntyScrunt
Ssh password
Hi there.

I am fully aware of the security implications, but is there a way give a user password with the rsh and/or ssh commands?

Such as: ssh user@192.168.0.56 -p password

Or pass a config...
848
Posted By MuntyScrunt
Ls returning differing results
Hi there.

I have several raspberries, Im currently logged (ssh) into 2 of them, both identical os, same user, both up to date. Both mounted to a Nas, but when I ls the same dir on the Nas one...
1,017
Posted By MuntyScrunt
cp modification
I'm usia Raspbian, a Debian subset, and wondering what work would be involved in altering the cp command.

cp at present needs a full path and file name for source and at least full filename for...
Showing results 1 to 25 of 33

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