08-18-2011
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I do not know much about shell scripting and need to create a script and I am at a loss. If someone can help me, that would be great!!
I have two directories:
/dir1
/dir2
I need to get the sequence number which is part of the filename in /dir1 and delete all files in /dir2 that are... (4 Replies)
Discussion started by: stky13
4 Replies
2. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
3. Shell Programming and Scripting
Hello all,
I'm trying to copy all files within a specified directory to another location based on a find filter of mtime -1 (Solaris OS). The issue that I'm having is that in the destination directory, I want to retain the source directory structure while copying over only the files that have... (4 Replies)
Discussion started by: hunter55
4 Replies
4. Shell Programming and Scripting
Hi ,
I am very new to unix as well as shell scripting. I have to write a script for the following requirement.
In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order.
Please help me in this regard and many... (4 Replies)
Discussion started by: nmakkena
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
3 Replies
6. Shell Programming and Scripting
Hello everyone,
I am trying to create a script that will make usernames (last name and first letter of name - for example, James Bond = bondj).
At this point, I figured out how to make a script that can read the list of names from a text file.
Here is what I have:
#!/bin/bash
... (5 Replies)
Discussion started by: RSpades
5 Replies
7. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
8. UNIX for Dummies Questions & Answers
It is for HP-Unix B.11.31.
Requirement:
1. List the directories, having given pattern in the directories name, sorted by creation date.
Example: Directories with name "pkg32*" or "pkg33*"
2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Discussion started by: Siva SQL
2 Replies
9. Shell Programming and Scripting
Dear All,
I have some list of directories names 1 2 3 .... n.
Number can vary each time when I run some software to create these folders.
When ever I wanted to run new case I have to remove all the sub-directories named 1 2 3 4 .... in case directory.
How can I do it using rm -r command?
... (4 Replies)
Discussion started by: linuxUser_
4 Replies
10. Shell Programming and Scripting
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
Discussion started by: wyclef
5 Replies
LEARN ABOUT DEBIAN
wireless
WIRELESS(7) Linux Programmer's Manual WIRELESS(7)
NAME
wireless - Wireless Tools and Wireless Extensions
SYNOPSIS
iwconfig
iwpriv -a
DESCRIPTION
The Wireless Extensions is an API allowing you manipulate Wireless LAN networking interfaces. It is composed of a variety of tools and
configuration files. It is documented in more detail in the Linux Wireless LAN Howto.
The Wireless Tools are used to change the configuration of wireless LAN networking interfaces on the fly, to get their current configura-
tion, to get statistics and diagnose them. They are described in their own man page, see below for references.
Wireless configuration is specific to each Linux distribution. This man page will contain in the future the configuration procedure for a
few common distributions. For the time being, check the file DISTRIBUTIONS.txt included with the Wireless Tools package.
DEBIAN 3.0
In Debian 3.0 (and later) you can configure wireless LAN networking devices using the network configuration tool ifupdown(8).
File : /etc/network/interfaces
Form : wireless-<function> <value>
wireless-essid Home
wireless-mode Ad-Hoc
See also :
/etc/network/if-pre-up.d/wireless-tools
/usr/share/doc/wireless-tools/README.Debian
SuSE 8.0
SuSE 8.0 (and later) has integrated wireless configuration in their network scripts.
Tool : Yast2
File : /etc/sysconfig/network/wireless
/etc/sysconfig/network/ifcfg-*
Form : WIRELESS_<function>=<value>
WIRELESS_ESSID="Home"
WIRELESS_MODE=Ad-Hoc
See also :
man ifup
info scpm
ORIGINAL PCMCIA SCRIPTS
If you are using the original configuration scripts from the Pcmcia package, you can use this method.
File : /etc/pcmcia/wireless.opts
Form : *,*,*,*)
ESSID="Home"
MODE="Ad-Hoc"
;;
See also :
/etc/pcmcia/wireless
File PCMCIA.txt part of Wireless Tools package
AUTHOR
Jean Tourrilhes - jt@hpl.hp.com
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
SEE ALSO
iwconfig(8), iwlist(8), iwspy(8), iwpriv(8), iwevent(8).
wireless-tools 4 March 2004 WIRELESS(7)