Search Results

Search: Posts Made By: ulaxmi
4,061
Posted By ulaxmi
Using bash and GNU grep. grep -v -Ff <(cut...
Using bash and GNU grep.

grep -v -Ff <(cut -d',' -f 1 testfile1.csv) testfile2.csv > resultfile.csv

edit by bakunin: please put CODE-tags around code, data and terminl output to have it stand...
2,361
Posted By ulaxmi
Sample shell script to add a user
Sample shell script to add a user:
Today i learn how to add a user to linux server with a password.

#!/bin/bash
# Script to add a user to Linux system
if [ $(id -u) -eq 0 ]; then
read -p...
599
Posted By ulaxmi
Question regarding for shell scripting.
I tried to run a command which simply generates SSH key with out prompting password.
After several trails , got the below command to run the script :


ssh-keygen -t rsa -N "" -f id_rsa
-N ""...
Showing results 1 to 3 of 3

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