Sponsored Content
Top Forums Shell Programming and Scripting Using userdel -r in a script? To delete multiple users. Post 302362648 by sol10admin on Friday 16th of October 2009 05:52:55 PM
Old 10-16-2009
Will do in the future. Sorry
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need a script to delete multiple files

Hello, I am working with about 500,000 text files and 90% of them are duplicates. I need a way to delete the duplicate ones. The files are email messages with the following file name examples: 20040129-1457 This is the Subject line.txt 20040129-1457 This is the Subject line-1.txt... (3 Replies)
Discussion started by: navycow
3 Replies

2. Shell Programming and Scripting

Script to delete all data from multiple files

its urgent!!!!!!111 i need a script which can delete data from multiple files. plz if anybody knows the script plz write a mail to me : (Email addresses are not allowed) (5 Replies)
Discussion started by: uni_ajay_r
5 Replies

3. Shell Programming and Scripting

Need Script to delete multiple entries from a file

I am new to Linux and would appreciate some help. I need a script to do the following: My file contains the following entries more file 1 1 1 1 2 2 2 I want to delete multiple entries of 1 and 2 and just keep one of each. The output should look like more file 1 2 Thanks (1 Reply)
Discussion started by: sidewayz
1 Replies

4. Shell Programming and Scripting

script to delete multiple files in remote machine

Requirement Several files in remote machines ought to be deleted via sh. Name of the files to be deleted are know Approach 1) script was written with ftp (requires credential) and delete command. File names were passed as array(iterated via for loop-with ftp+delete commands enclosed within... (1 Reply)
Discussion started by: vkalya
1 Replies

5. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

6. Shell Programming and Scripting

Script to add new users to a group on multiple servers using SSH

Hi Experts, I am new to scripting. We have around 400 Linux servers in our environment. I want to add a new user to a perticular group on all the servers using SSH. Requirements: 1) Need to take the server names from a text file. 2) Login into each server and check whether perticular... (1 Reply)
Discussion started by: Satya1983
1 Replies

7. Homework & Coursework Questions

Script to delete multiple users

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hi This is my first post.I am learning Unix and finding it difficult to get a handle on the scripting side of... (5 Replies)
Discussion started by: dom17
5 Replies

8. Shell Programming and Scripting

Script To Delete User Accounts On Multiple Servers

Hello All, The servers in question are AIX/Unix servers. I was hoping to find a scripting solution where I could use one server as a jump server and run a script that would check each server for a user account (the source file for the user accounts would be a text file or csv file) , and delete... (4 Replies)
Discussion started by: k45bryant
4 Replies

9. Shell Programming and Scripting

Script to delete users in the servers

Hi Team, Hope you are doing good.I am new to scripting.I have a requirement of deleting around 10 users in 100 servers.It is very time consuming by logging into each servers and delete the user.Here I have redhat 6 ,Suse linux 10&11 environment servers. In one set of servers I have... (5 Replies)
Discussion started by: muraliinfy04
5 Replies

10. Shell Programming and Scripting

Shell script for creating multiple users with password

for UserName in `cat users` ; do useradd -d /u02 -s /usr/libexec/openssh/sftp-server -G ftp-users $UserName ; PassWord=$( echo $( tr '' '' <<< ${UserName:0:1} )${UserName:1} ) ; echo "$PassWord@123" | passwd $UserName --stdin ; done can some one explain what the bold text do Please use... (5 Replies)
Discussion started by: James0806
5 Replies
std::shared_future< _Res >(3cxx)										  std::shared_future< _Res >(3cxx)

NAME
std::shared_future< _Res > - SYNOPSIS
Inherits std::__basic_future< _Res >. Public Member Functions shared_future (const shared_future &__sf) shared_future (future< _Res > &&__uf) shared_future (shared_future &&__sf) const _Res & get () shared_future & operator= (const shared_future &__sf) shared_future & operator= (shared_future &&__sf) bool valid () const void wait () const template<typename _Rep , typename _Period > bool wait_for (const chrono::duration< _Rep, _Period > &__rel) const template<typename _Clock , typename _Duration > bool wait_until (const chrono::time_point< _Clock, _Duration > &__abs) const Static Public Member Functions template<typename _Res , typename _Allocator > static _Ptr< _Result_alloc < _Res, _Allocator > >::type _S_allocate_result (const _Allocator &__a)" Protected Types typedef __future_base::_Result < _Res > & __result_type" typedef shared_ptr< _State_base > __state_type Protected Member Functions __result_type _M_get_result () void _M_swap (__basic_future &__that) Detailed Description template<typename _Res>class std::shared_future< _Res > Primary template for shared_future. Definition at line 716 of file future. Constructor &; Destructor Documentation template<typename _Res > std::shared_future< _Res >::shared_future (const shared_future< _Res > &__sf) [inline] Copy constructor. Definition at line 724 of file future. template<typename _Res > std::shared_future< _Res >::shared_future (future< _Res > &&__uf) [inline] Construct from a future rvalue. Definition at line 727 of file future. template<typename _Res > std::shared_future< _Res >::shared_future (shared_future< _Res > &&__sf) [inline] Construct from a shared_future rvalue. Definition at line 732 of file future. Member Function Documentation template<typename _Res> __result_type std::__basic_future< _Res >::_M_get_result () [inline], [protected], [inherited] Wait for the state to be ready and rethrow any stored exception. Definition at line 545 of file future. Referenced by std::future< _Res >::get(), std::future< void >::get(), and std::shared_future< _Res >::get(). template<typename _Res > const _Res& std::shared_future< _Res >::get () [inline] Retrieving the value. Definition at line 750 of file future. References std::__basic_future< _Res >::_M_get_result(). Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::shared_future< _Res >(3cxx)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy