10-23-2012
Need to make change in a file
i want to make null file using awk..
Last edited by Adhi; 10-24-2012 at 12:54 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to make the same change in multiple shell script files and would like to know if anyone can be of some help? I would appreciate it. (4 Replies)
Discussion started by: rdakhan
4 Replies
2. UNIX for Dummies Questions & Answers
ulimit -a gives the following output:$ulimit -a
time(seconds) unlimited
file(blocks) 2097152
data(kbytes) 131072
stack(kbytes) 16384
memory(kbytes) unlimited
coredump(blocks) 32768
nofiles(descriptors) 400
vmemory(kbytes) 147456
Abot output... (3 Replies)
Discussion started by: nervous
3 Replies
3. Programming
How I can get the current make-file name in a make-file
So, if I run make with specified file:make -f target.mak
is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
I'm installing the sleuthkit from sources (because the debian package is crap).
So I go threw the process of wget + tar + configure + make + make install.
At the end, all the executables and libraries are in /usr/local/bin/, /usr/local/lib/, /usr/local/share/...
How can I do to... (3 Replies)
Discussion started by: chebarbudo
3 Replies
5. Programming
(I have mentioned about this situation and arisen problems in another thread: Is there a limit for a code line length in C?, but those questions are OffTop for that subject; so I open a new topic, here.)
The main problem is that I have some situation in my program where memory has been changed... (2 Replies)
Discussion started by: alex_5161
2 Replies
6. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
7. UNIX for Dummies Questions & Answers
I logged in as root and visudo'd /etc/sudoers.
I found several users with the username ALL=(ALL) ALL entries and added an account after the last one.
Saved the file.
When the user logs in and does "sudo su -" they are prompted for their password and then told they are not in the sudoers file.... (8 Replies)
Discussion started by: rpm_on_lnx
8 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I made following configuration to create user directory:
# authconfig --enablemkhomedir --update
But the directory is created as permission 755, I'd like to modify the script to change directory access permission to 700, where is the script which copies /etc/skel to /home... (0 Replies)
Discussion started by: hce
0 Replies
9. Shell Programming and Scripting
Hi,
I am writing a shell script where I want that # should be added in all those lines as the first character where the pattern matches.
file has lot of functions defined
a.sh
#!/bin/bash
fn a {
beautiful evening
sunny day
}
fn b {
}
fn c {
hello world .its a beautiful day
... (12 Replies)
Discussion started by: ashima jain
12 Replies
10. Shell Programming and Scripting
Hello,
I have text data that looks like this,
Mrv16a3102061815532D
6 6 0 0 0 0 999 V2000
-0.4018 1.9634 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.1163 1.5509 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.1163 0.7259 ... (9 Replies)
Discussion started by: LMHmedchem
9 Replies
LEARN ABOUT SUSE
pam_make
PAM_MAKE(8) Reference Manual PAM_MAKE(8)
NAME
pam_make - PAM module which calls make
SYNOPSIS
pam_make.so [debug] [nosetuid] [make=prog] [log=file] /path/ [...]
DESCRIPTION
pam_make is a PAM module that can be used to run make in a given directory.
OPTIONS
debug
Print debug information.
log=file
The output of make is appended to file
nosetuid
Per default pam_make.so will execute make with the effective user ID of the calling process. Specifying this option means make is run
with the real user ID.
make=prog
The command prog is used instead of make.
MODULE SERVICES PROVIDED
The services auth, account, password and session are supported.
RETURN VALUES
PAM_SUCCESS
The make command runs successfull.
PAM_SERVICE_ERR
No argument or a wrong number of arguments were given.
PAM_SYSTEM_ERR
A system error occured or the make command failed.
PAM_IGNORE
pam_setcred was called, which does not execute the make command.
EXAMPLES
Add the following line to /etc/pam.d/passwd to rebuild the NIS database after each local password change:
passwd optional pam_make.so /var/yp
This will execute the command:
make -C /var/yp
HISTORY
The first implementation of pam_make was written by Mihai Ibanescu <misa@dntis.ro>.
SEE ALSO
pam.conf(5), pam.d(8), pam(8)
AUTHOR
pam_make was written by Thorsten Kukuk <kukuk@thkukuk.de>.
Reference Manual 10/25/2006 PAM_MAKE(8)