10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This is my first post, so please forgive my obvious lack of UNIX knowledge. I am trying/needing to write a script that follows this functional flow:
1. Access a config file that contains format:<directory> <filetype> <daterange>
<directory> <filetype> <daterange>
<directory>... (2 Replies)
Discussion started by: WildBeard83
2. UNIX for Dummies Questions & Answers
Selected directories on our system generate alerts when they exceed 60% of the disk space so I have used gzip to make the files smaller on one of the directories in question (AdminServer logs). I want to move these to another directory what is the best way to make this happen?
Thanks.. (4 Replies)
Discussion started by: nosuchluck
3. Shell Programming and Scripting
This is a mysql night mare that I cant seem to wrap my head around. Any shell based answers is appreciated as I dont know Perl and all I would do would be blindly copy & paste !
FILE CONTENTS -
1389685 INSERT INTO Opera_ShirtCatlog(col1,col2) VALUES (1,'TEST1'),(2,'TEST2');
1389675 INSERT... (10 Replies)
Discussion started by: ManoharMa
4. Shell Programming and Scripting
Hello ALL, i hope everyone is fine here.
I have found some directories that have 777 permission with below command.
find ./ -type d -perm 0777
I want that if there is any php|html|css file found in above directory so move those... (4 Replies)
Discussion started by: learnbash
5. UNIX for Dummies Questions & Answers
I need to be able to move files from one central locations to different servers on our network. So i want all of our operators to place files to one area on the main storage area. From there i need a script that first checks the file is stable (finished copying)
then copy to another server,... (5 Replies)
Discussion started by: treds
6. Shell Programming and Scripting
Hi I have written the following piece of code to move all files with name *.sh to *.bak
the o/p i am getting is *.sh.bak
cat filename | while read line
mv $line $line.sh
filename file conatins
expected o/p is
file.bak (2 Replies)
Discussion started by: ultimatix
7. Shell Programming and Scripting
Using Solaris CDE environment and want to write a shell script (pref. Korn) which can:
Upon invokation opens a dtterm new window (no problems, here, i.e. on how to open one)
The new dtterm should be moved by the script to another workspace (consider no one changed the default Solaris naming... (3 Replies)
Discussion started by: baivab
8. UNIX for Advanced & Expert Users
can any one help
i have a file with this content file name hsnvalue.op
i want to print only one value to another file final.out
:confused: (5 Replies)
Discussion started by: shafique
9. Shell Programming and Scripting
would any one please tell me which keys we used between opened vi files backward and forward
Ayah (2 Replies)
Discussion started by: aya_r
10. UNIX for Dummies Questions & Answers
Hello to all
i am using Solaris 8 and my problem is that i want so start an applikation in workspace 2 for example. To start a program i want to use a termal in workspace 1.
Is ist possible to say an application that it should be startet in an other workspace??
Thank's for your help. (1 Reply)
Discussion started by: hans-schranz
CTRLALTDEL(8) System Administration CTRLALTDEL(8)
ctrlaltdel - set the function of the Ctrl-Alt-Del combination
Based on examination of the linux/kernel/sys.c code, it is clear that there are two supported functions that the Ctrl-Alt-Del sequence can
perform: a hard reset, which immediately reboots the computer without calling sync(2) and without any other preparation; and a soft reset,
which sends the SIGINT (interrupt) signal to the init process (this is always the process with PID 1). If this option is used, the init(8)
program must support this feature. Since there are now several init(8) programs in the Linux community, please consult the documentation
for the version that you are currently using.
ctrlaltdel is usually used in the /etc/rc.local file.
Output version information and exit.
Display help and exit.
Peter Orbaek <firstname.lastname@example.org>
The ctrlaltdel command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils
util-linux August 2011 CTRLALTDEL(8)