Hi,
What will be the best way to do the follwing:
i have a file calld dir.list
/cav
/cav/brif
/usr/main
/cat
i want to run a script that will take each of the item in the file and create a new dir in a location that i'll choose
it nee to do mkdir cav
mkdir cav
cd cav
mkdir brif... (8 Replies)
Hi, a simple question : How can I sent user and password to the command su.
I need this for a script, but the problem is the command su wait for the password.
Thanks. (2 Replies)
Hello!!!!!!!!
I have an issue regarding inserting records in a file columnwise.Is it possible using awk/nawk script?
Example:
File1:
1|AAA|25|2
5|qqe|20|7
4|wer|31|81
I need to create a second file in which data can be inserted in a columnwise manner i.e.
File2:
AAA|25|1|2... (1 Reply)
I know we would not normally do this. However, I would like to have user's home directory created when they log in the first time.
I have searched the forums and have not found any help yet.
Scenario - environment uses NIS for auth and usually NFS mount HOME.
However, I have a pilot environment... (4 Replies)
Hi,
I have one dir which has N subdirs.For ex:
/home/user/Project_Src
/home/user/Project_Src/Dir_A
/home/user/Project_Src/Dir_A/subdir/sub_dir2
/home/user/Project_Src/Dir_A/subdir/sub_dir3
/home/user/Project_Src/Dir_B
/home/user/Project_Src/Dir_B/Build
i want to create a folder with... (2 Replies)
Hi Guys ,
I want create files Dire and Sub Dire. as same time using variable.
EX:
x1="/hk/Pt/put/NC/R1.txt"
x2="/hk/pt/Put/Ot/NC/RN.txt"
And i want delete all after done with my script.
Thanks (2 Replies)
I am a quite newbie on UNIX SCRIPTING...Please help me solving this two questions...
1st Question;
I want to create one command that will run a script when anyone use that command on that server... I mean, in the prompt if I put my name 'Rony' it will execute a script called 'rony.sh'. How can... (1 Reply)
Hi all
I wanted to change the home dir for a user, but when using smh :
SMH->Accounts for Users and Groups->Local Users->Modify User
----------------------------------------------------------------------------------------------------------------------------------------------
* Required... (8 Replies)
have three big data file, however I just need to see the mentioned below one line form the all the file which has SERVER_CONNECTION Value
File 1
export SERVER_CONNECTION=//dvlna002:10001/SmartServer
File2
export SERVER_CONNECTION=///SmartServer
File3
export... (1 Reply)