10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Newbie question. I cannot get "set -n" or "set -noexec on" to work on Linux or AIX! According to the man page and what I read online, it should inform me of syntax errors without executing commands in your script.
So, can someone PLEASE explain why this does not work?
... (2 Replies)
Discussion started by: fgoyti
2 Replies
2. Red Hat
I would like mimic "noexec” and “nosuid” on /tmp security when its a seperate file system BUT I would like to hang /tmp directly off of / "root". Any suggestions would be helpful. (1 Reply)
Discussion started by: trscam
1 Replies
3. Shell Programming and Scripting
:(
---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ----------
Not working
---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ----------
cp -p /home/* home/exp/*.`date`
i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies
4. Solaris
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies
5. Programming
I'm trying to make use of mkdir(char *pathname, S_IRWXU) to create the directories.
but it only creates one directory at a time. so I have to separate the tokens for "/home/blah1/blah2/blah3" as "home blah1 blah2 blah3" using delimiter "/", but it is again hectic to create such directory... (8 Replies)
Discussion started by: platinumedge
8 Replies
6. Programming
Hi
I need to get the home directory of current user who is running the program, also i need to store the value in a particular variable and pass to the function.
thanks in advance (4 Replies)
Discussion started by: cutechaps
4 Replies
7. High Performance Computing
Isn't it annoying to leave work hanging to the next day because the regular home pc will never have the grunt of your HPC system at work.
CRAY have answered someone's prayers ..... Cray Inc., The Supercomputer Company - CX1 Deskside Personal Supercomputer
Cheers, Cam :) (3 Replies)
Discussion started by: Cameron
3 Replies
8. Shell Programming and Scripting
hello
i want shell script.
as root , i want to untar specific.tar.gz to all home user directory
and after untar , there is 1.txt 2.txt ~~ 26.txt in/public_html/test1/
i want randomly selected 6 text files in 1.txt 2.txt ~26.txt to be renamed
newword1.word , newword2.word , ~~... (8 Replies)
Discussion started by: topic32428285
8 Replies
9. Solaris
Hi All,
I have this script for linux on cleaning up orphaned folder. But I need to use this on solaris 8/9/10
for user in $(ls | grep -v lost+found) ; do
id $user >/dev/null 2>&1
if ]
then
ls -ld $user
grep $user /etc/passwd
fi
done
Can someone please convert this script? ... (1 Reply)
Discussion started by: itik
1 Replies
10. Shell Programming and Scripting
#!/bin/ksh
while read line < elig_jobs.txt
do
#Gets the field from the elig_jobs.txt file that has the input location path.
INPUTD=`echo "$line" | cut -c240-289` (ex: $HOME/2005)
echo inputdirectory: $INPUTD (this prints $HOME/2005)
I want it to print /data/user/2005... (4 Replies)
Discussion started by: radhika
4 Replies