10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I'm making script for Dallas temperature sensors (DS1820).
When a sensor is connected, it shows up as a directory in /sys/bus/w1/devices
in format 10-xxxxxxx. Inside the directory is a file called w1_slave which holds the temperature in format t=xxxxx.
Each sensor has unique... (2 Replies)
Discussion started by: Klipeti
2 Replies
2. Shell Programming and Scripting
Hi all,
I have some directory structure as
$ls -ltr
drwxr-xr-x 1 mscprod us_msc 512 May 10 08:34 650
drwxr-xr-x 1 mscprod us_msc 512 May 10 08:51 652
drwxr-xr-x 1 mscprod us_msc 512 May 10 08:51 640
drwxr-xr-x 1 mscprod us_msc512 May 10 09:13 654
$ cd 650/
$ls
fileabc.root
and within... (7 Replies)
Discussion started by: emily
7 Replies
3. Shell Programming and Scripting
Hello Group,
Once again another script hacked together from a few sources to try and suit my needs. This is to go through a /temp directory and for each ls entry ask which Dir of three I want it sorted.
The script works but there are a few behaviors that are odd so I figured I'd ask for help... (2 Replies)
Discussion started by: dpreviti
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I have a requirement, I had a parent directory Land under that we have sub directories
Yesterday,
Today and
Tommorrow
And we have a file test.txt under the above directories Yesterday, Today and Tommorrow
The data in the file test.txt under Yesterday folder is ... (5 Replies)
Discussion started by: somu_june
5 Replies
5. UNIX for Dummies Questions & Answers
As you will verify, I am a really naive user of AIX 5.1. As such I wonder if you could possibly let me know of a command or procedure I could use to automatically, globally and safely, remove all useless files from my machine. I'm not referring to my own files because I perfectly know which of them... (1 Reply)
Discussion started by: ahjchr
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
Has anyone ever encountered the following scenario:
I am working on a SUN server with solaris 10 installed and veritas managing the filesystem. One of the file systems has become full:
df -kh /ossrc/dbdumps
Filesystem size used avail capacity Mounted on... (6 Replies)
Discussion started by: eeidel
6 Replies
7. Shell Programming and Scripting
Hi, people.
I was searching script tutorials/examples and found this forum, and thought to ask for help, because there seems to be many wise people here.
(Try to bare with me, I'm a Windows user, so this stuff is somewhat strange to me, OK? :rolleyes: )
Anyways, I need to create a script that... (3 Replies)
Discussion started by: Gill Bates
3 Replies
8. UNIX for Advanced & Expert Users
BeginDate 07/01/06
End: 07/31/06
Cust: A02991 - Burnham
0002000 5,829,773 145.3
0009701 4,043,850 267.3
2005000 286,785.13 100.0
BeginDate 07/01/06
End: 07/31/06
Cust: A01239 - East Track PSE
Index A
0009902 317,356.82 890.2
0020021 ... (5 Replies)
Discussion started by: kris01752
5 Replies
9. UNIX for Advanced & Expert Users
HI,
I have a file which comes from crystal reports in the below format.
I need to clean the file so that i will only have the columns(deptid,empid,ename,sal) and the data below the column names.
There is a bug in the repoting tool( we only see page1-1 for every department).The rundate change... (1 Reply)
Discussion started by: kris01752
1 Replies
10. Shell Programming and Scripting
What one finds challenging another finds simple...
(HPUX B.11.11)
I have a text file named something like 12345.dst that could look like this:
DOG
CAT
NONE
TEST
CAT
What I want to end up with is 12345.dst looking like this:
CAT
DOG
TEST
removing "NONE" should it be there and... (1 Reply)
Discussion started by: djp
1 Replies