Search Results

Search: Posts Made By: Roggy
1,066
Posted By Roggy
Don't see my mac addresses of my devices
I have a problem with a script , i want to see my devices there are up in my network. I want as output the ip addresses of the devices and also the mac address but I only had the ip addresses
...
1,486
Posted By Roggy
Scripting with arguments for ping command
This is the script I already have but I have problems with two arguments
the first argument -t , I want to count 200 by the last digit of the IP address for example when I run the script ./ping.sh...
1,185
Posted By Roggy
Can i see wich Computers are up in my network with a script
#!/bin/bash

for ((n=0 ; n < 254 ; n+=1))
do
ip=192.168.0.$n
if ping -c 1 -w 1 $ip > /dev/null 2> /dev/null >> /etc/logping.txt; then
echo "${ip} is up" # output up
#...
1,507
Posted By Roggy
Thank you
Thank you
1,507
Posted By Roggy
thanks and the paremeter -t that counts for ex...
thanks and the paremeter -t that counts for ex 200 by ./test.sh -t 17


192.168.1.217


what do you mean with update the code block and added a usage message ?
1,507
Posted By Roggy
Thank you but how do i implement the paramters...
Thank you but how do i implement the paramters xx-yy and -t ?
1,507
Posted By Roggy
Problems with past arguments in script
I have a question is there any possibility for maken a script that you can see if computers are on in your network
when you run the script for ex. ./ping.sh 54 62 62 , a script when you give as...
1,419
Posted By Roggy
Script with ping
I have a question is there any posibility for writing a script that you can see if a pc in your network is up of down , when you run this script for ex. ./test.sh 63 45 54 , which are the ip adresses...
12,474
Posted By Roggy
Thanks, I'll test this code
Thanks, I'll test this code
12,474
Posted By Roggy
Thanks for the quick help, I just do not...
Thanks for the quick help, I just do not understand where the code is
where the script searches in the text file after the names
, i see you named your txt file , file
12,474
Posted By Roggy
I want a script that adds users from a txt file....
I want a script that adds users from a txt file. From this file I want to take first name , last name and passwords, I have this basic schript I want to expand, but I'm not sure how to begin , So...
12,474
Posted By Roggy
Adding users from a txt fille
hello i'm making a bash script for adding users from a txt fille

i have a basic script that adds users and their password . when you type the users by hand , now i want to upgrade my script...
2,998
Posted By Roggy
Thank you very much, but what must I change for...
Thank you very much, but what must I change for give one parameter ?
I want to give ./test1.sh Desktop only first and then I want to give two directories ./test1.sh Documents Desktop and then the...
2,998
Posted By Roggy
Thank you !! Now can i try implement other...
Thank you !! Now can i try implement other parameters :)

---------- Post updated at 11:56 AM ---------- Previous update was at 11:48 AM ----------





i have done it to implement other...
2,998
Posted By Roggy
No it just for my own , i'm learning bash...
No it just for my own , i'm learning bash scripting and i found some exercises i'm not very good i writting a script because i'm just learning it and asking some peoples helps me to write a script ,...
2,998
Posted By Roggy
Thank you very much I'm sorry to bother you...
Thank you very much

I'm sorry to bother you but i have also a question
Now i want to implement parameters in my script for example the help function i have this some code for the help function...
2,998
Posted By Roggy
i'm sorry but i have a question, i tried the...
i'm sorry but i have a question, i tried the script and i have a problem when i give 2 paramters

this is what i have when i type
./test.sh “Desktop Documents”

Size: du: cannot access...
2,998
Posted By Roggy
thank you, so that second if statement is...
thank you, so that second if statement is unneccessary only the one if statement is neccessary for the script
2,998
Posted By Roggy
Thank to help me :)
Thank to help me :)
2,998
Posted By Roggy
I'm sorry but i'm not strong in writing a...
I'm sorry but i'm not strong in writing a script.. Can you help me for how to start with this script , that i have something to start

---------- Post updated at 04:33 AM ---------- Previous update...
2,998
Posted By Roggy
Script that sums the contents of a folder (help me)
I'm looking for a script that sums the contents of a folder,

When you give a parameter to the script , i want to know the size of the directory, the number of files, number of folders,

These...
Showing results 1 to 21 of 21

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