05-01-2020
Script to write for employee salary
the effect of changing the value of PATH to: .:/usr/della/bin: /bin: /usr/bin??
Last edited by amitmahida; 05-01-2020 at 05:30 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have done some BASIC shell scripting/PERL scripting before so I am familiar with the languages. I am not really sure which one would lend itself better to the application I have to write.
I am required to scan the message logs for possible break in attempts. If I use shell scripting... (2 Replies)
Discussion started by: mojoman
2 Replies
2. What is on Your Mind?
do mind posting ur salary, location(not detailed), job field, work years here
I dont you whether you guys are from different countries...but i guess most of you are from different countries, but all in all, we are acting as an ITer....
I just wanto know more about you
never mind:p (0 Replies)
Discussion started by: macroideal
0 Replies
3. What is on Your Mind?
I am interested how much is average AIX Admin Salary.. in the USA or in the EUROPE.. or somewhere else... ;) (6 Replies)
Discussion started by: wwwzviadi
6 Replies
4. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
5. What is on Your Mind?
Anyone know the normal and average monthly salary (and hourly wage for part time) for a solid Web Development in India?
Basic requirements. LAMP (Linux, Apache, MySQL, PHP), HTML, CSS, Javascript. vBulletin a plus, but not necessary.
Anyone have any idea? (5 Replies)
Discussion started by: Neo
5 Replies
6. What is on Your Mind?
I am thinking of doing Redhat certified system Administrator Course(RHCSA).what is the salary details after doing this course in india,Singapore? (0 Replies)
Discussion started by: rajesh1986
0 Replies
7. Shell Programming and Scripting
If there are 2 records for an Employee, How can I choose the one with eff_status = ‘Active' and ignore the eff_status ='Terminated'. if there is only one record, then just write that record regardless of the eff_status.
Please assist. (1 Reply)
Discussion started by: Harimalyala
1 Replies
8. Linux
Hello guys,
First I apologize for asking non technical question but I am goging to move to the USA and I have 8 year experience as a senior linux admin, I am administering storage subsystems as well.
Can you please tell me how much is an average salary for Linux admins?
Thanks in advance. (4 Replies)
Discussion started by: Vit0_Corleone
4 Replies
9. Shell Programming and Scripting
Hi Guys,
I need to determine the employee performance and calculate their salaries based on each quarter
Expected output
enter the no. of Employee 2
2
Enter Employee Name sam
Enter salary 1000
Enter Q1 5
Enter Q2 6
Enter Q3 3
Enter Q4 5
Enter Employee Name anderson
Enter salary... (17 Replies)
Discussion started by: rohit_shinez
17 Replies
CPMAC(1) BSD General Commands Manual CPMAC(1)
NAME
/usr/bin/CpMac -- copy files preserving metadata and forks
SYNOPSIS
/usr/bin/CpMac [-rp] [-mac] source target
/usr/bin/CpMac [-rp] [-mac] source ... directory
DESCRIPTION
In its first form, the /usr/bin/CpMac utility copies the contents of the file named by the source operand to the destination path named by
the target operand. This form is assumed when the last operand does not name an already existing directory.
In its second form, /usr/bin/CpMac copies each file named by a source operand to a destination directory named by the directory operand. The
destination path for each operand is the pathname produced by the concatenation of the last operand, a slash, and the final pathname compo-
nent of the named file.
The following options are available:
-r If source designates a directory, /usr/bin/CpMac copies the directory and the entire subtree connected at that point. This option also
causes symbolic links to be copied, rather than indirected through, and for /usr/bin/CpMac to create special files rather than copying
them as normal files. Created directories have the same mode as the corresponding source directory, unmodified by the process' umask.
-p Causes /usr/bin/CpMac to preserve in the copy as many of the modification time, access time, file flags, file mode, user ID, and group
ID as allowed by permissions.
-mac Allows use of HFS-style paths for both source and target. Path elements must be separated by colons, and the path must begin with a
volume name or a colon (to designate current directory).
NOTES
The /usr/bin/CpMac command does not support the same options as the POSIX cp command, and is much less flexible in its operands. It cannot
be used as a direct substitute for cp in scripts.
As of Mac OS X 10.4, the cp command preserves metadata and resource forks of files on Extended HFS volumes, so it can be used in place of
CpMac. The /usr/bin/CpMac command will be deprecated in future versions of Mac OS X.
SEE ALSO
cp(1) MvMac(1)
Mac OS X April 12, 2004 Mac OS X