Search Results

Search: Posts Made By: lost.identity
1,315
Posted By lost.identity
Many thanks for the reply Don Cragun. The...
Many thanks for the reply Don Cragun.

The idea to have other users files accessible (within the same group) was from our manager, and yes all users are aware of this.
1,315
Posted By lost.identity
Hi putting that umask to the login files did not...
Hi putting that umask to the login files did not work. But I've added it to .bashrc for each user which seems to work. Thanks
1,315
Posted By lost.identity
The umask 002 seems to do what I want. The...
The umask 002 seems to do what I want. The problem is, I'm not sure if all users will do it every time they create a new directory.

Is there nothing that can be done as root such that the user...
1,315
Posted By lost.identity
Permissions on a directory in /home for all users
Hi,

I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions.

I did this using
chmod -R g+rwx /home/shared/

The problem is,...
Forum: Linux 09-04-2014
817
Posted By lost.identity
Setting up synergy on a complex network
Hi,

I'm trying to use synergy at my workplace. I have a Windows laptop, which I want to use as the client and a Linux desktop which will be the server. Unfortunately, these machines are not on the...
578
Posted By lost.identity
Perl -- Script to re-format data
Hi,

I have a file with data in the following format


BOX
-1.000000 -1.000000 0.000000
30.00000 14.00000 0.1000000
0.000000 0.000000 0.000000
0.000000
0.000000
CYLINDER
3.595000 2.995000...
850
Posted By lost.identity
Insert a line in a text file
I want to insert a line with text after the 9th line of a text file. How would I do this using sed or awk?
574
Posted By lost.identity
Problem in loading program correctly using SSH and X11 forwading
I'm trying to load a program remotely using SSH with X11 forwarding. I have no issue with loading xwindows and programs like firefox works fine. But one software that I use for my work has some...
754
Posted By lost.identity
Great cheer! That works!
Great cheer! That works!
754
Posted By lost.identity
Reading off values from a large file
Hi,

I have a large output file (star.log), with many lines of the following type

*** T vavg [K] unburnt: 723.187 / burnt: 2662.000

What I would like to do is pick the values 723.187 and...
1,456
Posted By lost.identity
[solved] Comma separated values to space separated
Hi,

I have a large number of files which are written as csv (comma-separated values).

Does anyone know of simple sed/awk command do achieve this?

Thanks!

---------- Post updated at 10:59...
2,161
Posted By lost.identity
Thanks!
Thanks!
2,161
Posted By lost.identity
Loop over files and use awk
Hi, I have a large number of files which are numbered numerically, i.e. of the type

1.usr, 2.usr, 3.usr ... This is what I'd like to do:

1. In ascending order, use awk to read a value from...
3,741
Posted By lost.identity
awk to append data to a file
Hi

I search for certain values in a file across many directories using the following awk code

awk '/Sl.*thickness/ {Sl=$3;Tt=$NF}END{print Sl, Tt}' DILAT.DAT

What I would like to do is write...
795
Posted By lost.identity
Hi, how can I use a similar code to the one given...
Hi, how can I use a similar code to the one given above to read the value next to 'Thermal thickness' in the following data? i.e. how can awk deal with the space character?


Sl = 3.480633E+01...
839
Posted By lost.identity
do you mean like export i=2 export j=2and ...
do you mean like
export i=2
export j=2and
perl -i -pe "/open/&&s/t\d+_p\d+/t$ENV{'j'}_p$ENV{'i'}/" interp.fThis just gives

open (unit=2, file='t{'j'}_p{'i'}.DAT')
839
Posted By lost.identity
Perl to change a value in a file
Hi, I have a file with the following line

open (unit=2, file='t0_p0.DAT')I want to change the value of the above zeros with variables $i and $j using a simple perl one linear.

I've tried the...
795
Posted By lost.identity
Read in numbers from a datafile
Hi,

I want to be able to read numbers from many files which have the same general form as follows:

C3H8 4.032258004031807E-002
Phi = 1.000000E+00 Tau = 5.749E+00
sL0 ...
689
Posted By lost.identity
Thanks for the replies. I'm sorry I didn't...
Thanks for the replies. I'm sorry I didn't explain my problem clearly.

I have a gnuplot script file that does the plotting (called time.gplt), in it I have the following line that plots the data....
689
Posted By lost.identity
Doing a loop to change a value in a file
Hi, I have an N number of files in a directory. I like to write a shell script that would make identical plots for each one of these files.

The files have names such as:

t00001.dat
t00002.dat ...
3,632
Posted By lost.identity
Hi Corona688. That works! Thanks!
Hi Corona688. That works! Thanks!
3,632
Posted By lost.identity
Hi, I'm afraid the codes are still doing this: ...
Hi, I'm afraid the codes are still doing this:

mv t_0.0000_.dat t1.dat
mv t_0.10000E-02.dat t2.dat
mv t_0.10000E-03.dat t3.dat


Whereas, I was hoping it would sort them according to their...
3,632
Posted By lost.identity
Thanks for the reply. The problem I have is I...
Thanks for the reply. The problem I have is I also have files such as t_ 0.10000E-03.dat, t_ 0.20000E-03.dat etc, which are not sorted properly, so I get the following:

mv t_ 0.0000 .dat...
3,632
Posted By lost.identity
[SOLVED] Rename multiple files
Hi. I have a large number of files with names like:

t_ 0.20000E-02.dat

There is actually a space after the underscore. These files are numbered numerically, i.e. t_ 0.20000E-02.dat, t_...
1,886
Posted By lost.identity
Simple Makefile for LaTeX
I create figures using Gnuplot, but I use terminal epslatex, which produces a .tex file as output. I then latex this .tex file which creates are .dvi file, which I then convert to .ps and finally to...
Showing results 1 to 25 of 62

 

Featured Tech Videos

All times are GMT -4. The time now is 11:56 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy