10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I starting teaching myself python and am stuck on trying to understand why I am not getting the output that I want. Long story short, I am using PDB for debugging and here my function in which I am having my issue:
import re
...
...
...
def find_all_flvs(url):
soup =... (1 Reply)
Discussion started by: metallica1973
1 Replies
2. Shell Programming and Scripting
I was looking through some code online and came accross this...
ls *.txt | grep text1 | cat file1 – file2 | `echo wc –l`
I know what "ls|grep text1" does and I know a word count gets echoed but beyond that I am confused. Please use layman terms as much as possible as I am a newbie. (8 Replies)
Discussion started by: elohssa
8 Replies
3. Shell Programming and Scripting
Hello,
Although I have found similar questions, I could not find
advice that could help with my problem. The issue:
I am trying to replace all occurrences of a regex, but
I cannot make the regex groups work together.
This is a simple input test file:
The Vedanta Philosophy... (3 Replies)
Discussion started by: samask
3 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am sure this is very simple but I cant quite get it.
I am trying to search textfile1.txt for a string then take the results of the search and append the result to textfile3.txt
So far I have used
$ find file1.txt -exec grep "string i am looking for" '{}' \; -print
this... (2 Replies)
Discussion started by: radgator
2 Replies
5. UNIX for Dummies Questions & Answers
Hey. i am doing a lab work for shcool I am new to using the commands. This question is give to me. I do not no the length of file nor do i know the how many charterers they are in the question. Question below
"Assume that you are NOT currently in your home directory.
Enter a command to copy... (1 Reply)
Discussion started by: maniac173
1 Replies
6. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
8. UNIX for Dummies Questions & Answers
I am taking a db classes toward oracle 10g. I am taking unix as well . I need to know what is the best option for os . should I use linux fedora. or get a sun box and start learning from there. Thanks (6 Replies)
Discussion started by: xzyan
6 Replies
9. Shell Programming and Scripting
hey all, I have repeatedly seen scripts containing the following syntax,
grep "hello" $myfile >> $log 2>&1
can anyone explain exactly what "2>&1" mean? THANK YOU (4 Replies)
Discussion started by: mpang_
4 Replies
10. UNIX for Dummies Questions & Answers
hi
im thinking of getting unix but i have no idea where to start I know that its an OS similar to linux but what hardware does in run on? i've heard of solaris but im not quit sure what it is
thankxs (3 Replies)
Discussion started by: ninja
3 Replies
dxshutdown(8) System Manager's Manual dxshutdown(8)
NAME
dxshutdown - Performs various types of automated system shutdown.
SYNOPSIS
/usr/bin/X11/dxshutdown
OPTIONS
The dxshutdown command accepts all of the standard X Toolkit command-line options, which are documented in the OPTIONS section of the X(1X)
reference page.
DESCRIPTION
The Shutdown Manager application, dxshutdown, provides the system administrator with a graphical user interface for running user-specified
scripts at shutdown time in addition to performing the following types of automated system shutdown: Halt (and restart console mode) Reboot
Single-user mode shutdown Message-only shutdown
Dependencies: None. You do not need to configure anything prior to running Shutdown Manager.
You must be root to run Shutdown Manager.
Shutdown Manager also lets the system administrator display one or more warning messages prior to system shutdown. The dxshutdown command
uses the Tru64 UNIX shutdown command as an API, passing command-line arguments as specified by application defaults and user inputs.
The Shutdown Manager also provides the following features, which the shutdown command does not provide: Selection of a preshutdown script
to be executed prior to system shutdown Easy cancellation for a shutdown while the timed countdown is in progress Maintenance of an error-
and-script output log under /var/adm/sysman/dxshutdown.log Saving and restoring user-selected shutdown options over multiple invocations of
the Shutdown Manager application
For additional information about the graphical user interface, see the online help volume, which is available from the Help button in the
main window of the Shutdown Manager application.
To start dxshutdown from the graphical user interface: Click on the Application Manager icon on the CDE front panel. Double click on the
System_Admin application group icon. Double click on the Daily Admin application group icon. Double click on the Shutdown Manager appli-
cation icon.
EXAMPLES
To start Shutdown Manager from the command line, enter: dxshutdown To open the Shutdown Manager help volume from the command line, enter
the following command: /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/DXshutdown.sdl
FILES
Shutdown Manager executable Shutdown Manager log file Shutdown Manager help volume Shutdown Manager resource file (for option settings)
SEE ALSO
Commands: fasthalt(8), halt(8), rc0(8), reboot(8), rwalld(8), shutdown(8), sync(8), X(1X)
dxshutdown(8)