Search Results

Search: Posts Made By: peter20
1,304
Posted By peter20
Append files (backup .tar)
Hi all,
I have to write a script which will keep for a particular user (username is first argument) backups of the account area to another.
The script should accept as the second argument is a...
2,682
Posted By peter20
Thanks jostber...
Thanks jostber (https://www.unix.com/members/302073704.html)
2,682
Posted By peter20
It does not print all the users. I pass...
It does not print all the users.


I pass the output of command
last | sed -r 's/[ \t]+/ /g' | cut -d ' ' -f 1,3 | uniq -c | sort -nr

in a file

And I am trying to something like adding...
2,682
Posted By peter20
Thanks for your help I check the sort and...
Thanks for your help

I check the sort and uniq parameters and I found it.
2,682
Posted By peter20
Thanks a lot for your quick answer. The...
Thanks a lot for your quick answer.

The problem I have is that I have to count the number of logins and sort by number then.
2,682
Posted By peter20
find information about logins
Hi, all
I want to make a bash script that print all users from a system using last command.
I want to print the number of user's login in the format (descending order):

5 user1 address1
4...
4,361
Posted By peter20
thanks again!! it's what I want exactly
thanks again!!
it's what I want exactly
4,361
Posted By peter20
thanks for your code I would like to give...
thanks for your code

I would like to give the url as a parameter with 1.sh
and the temporary file to create the script if there is url.

I have to write -- >

if [ $@ > 0 ]
then

??
4,361
Posted By peter20
bash about url existence
Hi,
I want to make a bash script which is running like :
1.sh http://www. google.com

and check if the url does exist printing a message.

I want to save the source code of this page in a...
1,607
Posted By peter20
thanks a lot !!
thanks a lot !!
1,607
Posted By peter20
a comand finding all files from unix system
Hi,
I am new in using unix systems and I need your help.

I would like to make a command that prints all files (not directories) from a file system. These files must be executable from all users...
Showing results 1 to 11 of 11

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