Search Results

Search: Posts Made By: Error404
870
Posted By Error404
perfect, I had to remove the 'exit' part to make...
perfect, I had to remove the 'exit' part to make it run for the whole directory. Thanks for your help
870
Posted By Error404
awk two succeeding lines and moving matching files
Hello everyone

I have a few hundreds of .mol2 files that has this pattern


@<TRIPOS>ATOM
2 H18 65.2220 Du 1 RES1 0.0000
@<TRIPOS>BOND
1 3 5 ar
...
1,768
Posted By Error404
I haven't tried stuff yet (cuz I am not sure how...
I haven't tried stuff yet (cuz I am not sure how to start the command), been looking online for similar questions, found none yet. I am using a bash shell.

---------- Post updated at 10:05 AM...
1,768
Posted By Error404
Edit names of files in a directory
Hi all,

I have a directory with multiple (thousnads) of files, which are named this way

ABCDEF.wo.im-1
OKRAME.ire.roi
IOJEAFO01.irt.gfg
IMNYBL05.REG.gkf


I would like to keep the...
2,676
Posted By Error404
So basically I am unable to work with directories...
So basically I am unable to work with directories in Linux? This is a very long process to put them into a file and find them again, specially with someone who's a newbie in Linux (like me), the...
2,676
Posted By Error404
Hi Krishmaths, Thanks for the script, this...
Hi Krishmaths,

Thanks for the script, this is essentially what I want to do but I still have a couple of concerns about the command. The file size isn't really in the second column "$2". I was...
2,676
Posted By Error404
Removing duplicates depending on file size
Hi all,

I am working with a huge amount of files in a Linux environment and I was trying to filter my data. Here's what my data looks like

Name............................Size...
1,480
Posted By Error404
Yep, that's what I am looking for :) Thank you!
Yep, that's what I am looking for :) Thank you!
1,480
Posted By Error404
awk output modification
Hello,
I am using awk command to print some output, but there are some characters that I would like to remove from the output
awk '{print $5$6}'
the output I get is

column5/:column6
I am...
3,292
Posted By Error404
Just checked, no spaces at all.... text is dense...
Just checked, no spaces at all.... text is dense as ever :D
I am really confused, I am not very professional with Linux, sorry

-Error404
3,292
Posted By Error404
Hello, I tried to replace the cp by echo cp...
Hello,

I tried to replace the cp by echo cp and modified the command a little, now it tells me this


cp /dir1/dir2/dir3/file1.jpeg /new/directory/



and sometimes


cp in...
3,292
Posted By Error404
Error with xargs
Hello everyone,

I am using a command to find some files (file1, file2, file3...) and copy them into a specific location, using this command


grep 'string' | awk '{print $2$3}' | xargs -I {}...
4,264
Posted By Error404
Hello bakunin, I am actually looking to do all...
Hello bakunin, I am actually looking to do all the possible combinations for these 4 directories, starting with the most simple, a file that exists in dir1, but not in any other directory.
...
4,264
Posted By Error404
Diff for multiple files
Hello,

I am trying to compare the contents of 4 directories using diff, where I want files that are present in dir1 but not in dir2, dir3 or dir4 I know this command can only compare 2 files, but...
3,644
Posted By Error404
Thanks Robin, yes it is working now. But I am...
Thanks Robin, yes it is working now. But I am still unable to compare more than 2 files, say if I want the files that are in dir1 but not in dir2 or dir3, would I be able to do that using the diff...
3,644
Posted By Error404
One-way diff command?
Hello,
I am trying to find the different files between multiple directories in Linux, here is a small assumption of what is inside the directories

dir1 dir2 dir3
1.txt 1.txt 1.txt...
1,255
Posted By Error404
Thanks for the command dude. I honestly don't...
Thanks for the command dude. I honestly don't understand what it means but, it worked out for me! ( i mean the first part [[ tr"/" "\t" ]])
It would be very kind if you tell me what you did up...
1,255
Posted By Error404
Grabbing strings with awk
Hello everyone,
I am doing some sort of analysis for some data about organic solvents, and I have a problem with writing a command to do this:

Here's a sample of my file:


1 ethanol
2...
3,834
Posted By Error404
Hey guys, This data is spooky! :| I tried to...
Hey guys,
This data is spooky! :|
I tried to do the same sed command to another file and it worked properly. Then tried to do THE EXACT COMMAND to this file again, and it still omitted the columns...
3,834
Posted By Error404
bmk, Yes it is working. as you can see, it...
bmk,
Yes it is working. as you can see, it converts all "NaN" to "NA".
but the problem i am having now that it is omitting the headers, didn't that happen with you too?

-Error404
3,834
Posted By Error404
sed command playing with me!
Hello guys,

I was working with my data (a tab delimted text file) in Linux and wanted to replace all "NaN" values in my huge table with "NA", so i used the following sed command:

sed...
1,277
Posted By Error404
YeeeHaaa!!! :)) thaanks mate, it worked perfectly...
YeeeHaaa!!! :)) thaanks mate, it worked perfectly :) :hat:
1,277
Posted By Error404
the data is huge, i can't show it unfortunately,...
the data is huge, i can't show it unfortunately, but here's an example that shows the issue, i have a tab-separated file of 2 coloumns (assume --- is tab, because the website ignores spaces)
...
1,277
Posted By Error404
2 columns of data
Hello folks,

I have been learning Linux for a couple of weeks, and i am facing a simple problem that i couldn't resolve.
I have a file with 2 columns of data, the first coloumn always has text,...
1,200
Posted By Error404
Your sir, are very kind! :cool: Thanks ...
Your sir, are very kind! :cool:
Thanks
Error404
Showing results 1 to 25 of 26

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