10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Experts: i want to change this permission back to the way it was:
Initial:
drwxr-xr-x 8 oracle oinstall 4096 Jun 5 15:21 oracle
Now: drwxr-xr-x 8 oracle oinstall 4096 Jun 5 15:21 oracle
drwsr-sr-x 8 oracle oinstall 4096 Jun 5 15:21 oracle
Now I want to switch it back to ... (2 Replies)
Discussion started by: sumang24
2 Replies
2. Shell Programming and Scripting
Hi ,
I just write a simple function to read the file line by line.
But when I run it it says out of memory.
I am not sure about the root cause, Can someone help me out of this?
:D
#! /usr/bin/perl
use strict;
sub checkAPs{
my $NDPDir = "/home/eweiqqu/NCB/NDP_files/";
... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
3. UNIX for Advanced & Expert Users
I am trying to FTP files from windows to UNIX (IBM AIX). After having sent the files to unix server. Permisssion of the files becomes 640 (rw-r-----). I have to manually login to unix and do chmod 644 on the folder to give it permission. Is it possible that the files automaically be set to 644 on... (2 Replies)
Discussion started by: puspendu.das.in
2 Replies
4. Shell Programming and Scripting
Hello all,
I am trying to write a simple script that will parse through a text/properties file and check a couple of if statements.
Here is what I have so far:
FILENAME=$1
while read line
do
echo $line
done < $FILENAME
When I call ./simple.sh testfile.txt I recieve a file or... (7 Replies)
Discussion started by: lamagra
7 Replies
5. UNIX for Dummies Questions & Answers
Dear all,
I got some questions abt how does the Unix kernel work
with the work with the other components. (step by step)
Can any body tell me some info abt that? if can provide
a example for each question that gonna be perfect!
Thank you!!!
1. How file management system work together... (2 Replies)
Discussion started by: melbdavid
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am fairly new to Unix. My school computers have only UNIX installed on them, and I wish to use them to do some parallel computing. To do so, I need to transfer the files from my Windows computer to my Unix account on a different computer.
I am using the SSH login with the Putty client.... (2 Replies)
Discussion started by: Duchesne
2 Replies
7. UNIX for Dummies Questions & Answers
Hello all,
I need to write a little unix script to do some work on multiple files. I need to enter the filenames from the command line (scriptname <filename> <filename>. I have written the code to do double spacing, and some line numbering but it does not take multiple files from the command... (1 Reply)
Discussion started by: smn2003
1 Replies
8. Shell Programming and Scripting
Hi all,
ok here is my problem, my program below is reading lines in from a file (one at a time) and printing them out. my problem is that i want it to only print out 3 lines at a time on the screen, but the "read value" command in my code isnt working. Whats wrong? & what can i do to get this... (1 Reply)
Discussion started by: djt0506
1 Replies
9. HP-UX
netjk@rediffmail.com
I have a Shell Script (wrapper) that gathers parameters and invoke a base script (lets say B1). I have set the permission for this script as 711 (execute for everyone, group). When a user from another group try to execute the script, permission is denied (Cannot open file..)... (1 Reply)
Discussion started by: jsudha
1 Replies
10. Filesystems, Disks and Memory
I'm trying to answer the following question about file permissions in Unix. Consider a file with the following permissions:
rwx---r--
I am not the owner of this file, but I am a member of the group of this file.
My question is: do I have read access to this file?
I thought... (3 Replies)
Discussion started by: Hook
3 Replies