Hi,
I have crated a cpmove-test1.tar.gz file using the script at /scripts/pkgacct for the user test1(test1.com) in a server. Same User of test1 is having another account as test2(test2.com) in another server and want to move all his domains in test1 to test2. I have copied the cpmove-test1.tar.gz file to another server in which test2 resides.
hi
i have two large files ,for example test1.txt ,test2.txt
test1
b
a
c
e
test2
a
e
f
g
how i can output the differnt vlue for test1(vlaue that not found in test2 ) and the diffeent value of test2 (vlaue that not found in test1 )
thanks
I create a bash script with using case syntax. My bash script option must be "./script user hello". Below is the content of the script.
Quote:
user=`echo "$1" | sed "s/$/@foo.com/"`
case $1 in
*)
echo "From: $user
TEST1" > /var/log/test1
I have two script / test1 - test2
test1 in var / etc
test2 in var / www
and I want coupled into a single script that runs both script in the following order test1 and test2 every 3 minutes
hi guys i have a simple question
i have a directory with name of files in /tmp which contain some files
i want to check all files with file command and if they were MP3 or Wave sync them into new place .
I'm creating directories and changing the permissions of them in perl with the following code:
umask 0000;
mkdir $path, 0770;
chown $userid, $groupid, $path;
Now when I do ls -l on a directory I've just created, they are as follows:
drwxrws--- 2 user group 4096 Nov 3 15:34 test1
I notice for the group permissions, there's an s instead of x.
Even if I chmod manually to remove all permission
Hi,
I am trying to create more than one directory by using -p option in SFTP session.
But it created a directory named -p and ended.
It didn't throw any error.
Code:
sxxxxxxx:(abc)/test> sftp abcuser@zxxxxxxx
Connecting to zxxxxxxx...
Password:
sftp> pwd
Remote working directory: /test
sftp> cd /test/test1/test2/test3
sftp> mkdir -p /test/test1/test2/test3/test4/test5/test6/test
Hi,
I'm trying to use sdiff by parsing the output of another command instead of the filename:
Code:
sdiff <(echo test1) <(echo test2)
However, this seems to cause my terminal session to stop working.
Hi,
How can I remove duplicates from a file based on group on other column? for example:
Test1|Test2|Test3|Test4|Test5
Test1|Test6|Test7|Test8|Test5
Test1|Test9|Test10|Test11|Test12
Test1|Test13|Test14|Test15|Test16
Test17|Test18|Test19|Test20|Test21
Test17|Test22|Test23|Test24|Test5
First we need to look at column 1 and then remove the duplicate rows based on column 5.