logo
down
shadow

UNIX QUESTIONS

What's the best way to convert Windows/DOS files to Unix in batch?
What's the best way to convert Windows/DOS files to Unix in batch?
I wish did fix the issue. dos2unix
TAG : unix
Date : November 16 2020, 07:01 PM , By : TGedis94
Regarding Unix shell script
Regarding Unix shell script
may help you . I want to retrieve the file from the INFILE directory which are begining with the file names prefix "BBSCGG_" or "BCT_" or "ACL_" or "ASC" and do the processing inside the for loop
TAG : unix
Date : November 16 2020, 07:01 PM , By : Anuj
What are all the differences between pipes and message queues?
What are all the differences between pipes and message queues?
will be helpful for those in need Message Queues are: UNIDIRECTIONAL Fixed number of entries Each entry has a maximum size All the queue memory ( entries * entry size) allocated at creation Datagram-like behavior: reading an entry removes it from the
TAG : unix
Date : November 04 2020, 07:01 PM , By : user3856300
display records which exist in file2 but not in file1
display records which exist in file2 but not in file1
To fix the issue you can do log file1 contains records of customers(name,id,date) who visited yesterday log file2 contains records of customers(name,id,date) who visited today , an example, but check the man page of comm for the option you want.
TAG : unix
Date : November 02 2020, 07:01 PM , By : Salamoun
How to extract text following a keyword in UNIX
How to extract text following a keyword in UNIX
I wish did fix the issue. I have a text file (file.txt) that contains a wall of results (no newlines, whitespaces etc) that I received from an external source. From this file, I need to find all mentions of the word serId, and then print out the alph
TAG : unix
Date : October 12 2020, 10:00 PM , By : remarkable
How to use the output from sed command as a string and use that string in the grep command?
How to use the output from sed command as a string and use that string in the grep command?
help you fix your problem It seems to me that you're asking two completely different questions: one in the title and one in the body. I'll try to summarize them and answer both.First question:
TAG : unix
Date : October 12 2020, 08:00 PM , By : John Andrews
Transpose rows to columns keeping some rows as reference in shell
Transpose rows to columns keeping some rows as reference in shell
it fixes the issue IF you only have three field, you do not need to use loop, so this should work.
TAG : unix
Date : October 11 2020, 08:00 PM , By : Abe
How do I remove core files in Unix?
How do I remove core files in Unix?
Hope this helps If the core file is named core, then just do rm -f core.The -f option tells rm not to complain if the file doesn't exist. (It also tells it to go ahead and remove it without a prompt even if it's not writable.)
TAG : unix
Date : October 09 2020, 03:00 AM , By : Charlie Prince
Parsing a file with multiple line and replace the each first occurrence with Pipe
Parsing a file with multiple line and replace the each first occurrence with Pipe
To fix this issue Currently we have receiving a file, which is more like a name value pair. Each of the pair data is separated by pipe delimiter and Name and value pair is separated by space. I want to replace the space with Pipe inside the pipe deli
TAG : unix
Date : October 08 2020, 10:00 PM , By : Sarah Goldberg
Why does argc exist/why does env NOT have simething similar?
Why does argc exist/why does env NOT have simething similar?
hop of those help? I have no special insight into the minds of early Unix designers. But for one thing, there are plenty of situations where you want to know the number of command line arguments, e.g. if (argc < 3) usage();. But I can't think of any
TAG : unix
Date : October 08 2020, 12:00 PM , By : Obet
Awk command to perform action on lines excluding 1st and last
Awk command to perform action on lines excluding 1st and last
will help you I have multiple MS excel files in csv format in a particular directory. I want to update the value of one particular column in all the rows of the csv files. , This may do:
TAG : unix
Date : October 07 2020, 09:00 AM , By : runthehill
AWK command to convert one of the column of text file to Camelcase String
AWK command to convert one of the column of text file to Camelcase String
I wish this helpful for you I have to convert all the column values to camelCase letters/String , This gnu awk (due to splitting by null string) may do.
TAG : unix
Date : October 07 2020, 01:00 AM , By : Medeiros
Listing directories containing more than 2 files
Listing directories containing more than 2 files
it fixes the issue Using -maxdepth 1 was simply searching at the first level of the directory which is the directory itself. To search within the subdirectories, I had to use -maxdepth 2 and it solved my problem.Command used is $ find . -maxdepth 2 -
TAG : unix
Date : October 06 2020, 04:00 AM , By : Francesco Manca
NiFi https setup giving certificate error
NiFi https setup giving certificate error
it helps some times NiFi is telling your browser that you must present a client certificate in order to authenticate to the system. This is likely because you have not configured any other authentication mechanism (LDAP, Kerberos, OpenID Connect, etc
TAG : unix
Date : October 04 2020, 04:00 AM , By : drakev23
Count and check if number of a string repetition in a Line is more than 1
Count and check if number of a string repetition in a Line is more than 1
To fix the issue you can do I am trying to count the number of occurrence of "1260005113" and then check if it is more than 1 or not
TAG : unix
Date : October 03 2020, 09:00 AM , By : Nurhanisah Binti Ami
Remove folder starting with – (en dash)
Remove folder starting with – (en dash)
Hope this helps Don't know how, but I ended up with a folder named –p (en dash, not regular dash) , Try
TAG : unix
Date : September 30 2020, 02:00 AM , By : Rajan
How to display users in z/os Unix group?
How to display users in z/os Unix group?
around this issue This will depend on the security manager you have installed. Assuming RACF.Here is a link to an article explaining the process.
TAG : unix
Date : September 29 2020, 12:00 PM , By : Ata
meaning and output of date command in Unix
meaning and output of date command in Unix
I think the issue was by ths following , The date will give the current date time. With --date='{{ end }} day' you are adding end number of days to current date time.The +%s outputs the overall Unix timestamp after adding end number of days.
TAG : unix
Date : September 29 2020, 12:00 AM , By : Lovepreet Kaur
Loop over word and extract bigram
Loop over word and extract bigram
hop of those help? I would like to extract every single bigram from a given word and put in a text file. , I'd do it like this:
TAG : unix
Date : September 27 2020, 03:00 PM , By : mathyoo
how to create kotlin infix function with 2 words?
how to create kotlin infix function with 2 words?
this one helps. What you are trying to achieve doesn't make much sense and you shouldn't implement such things in production. Just for educational propose, something similar can be achieved:
TAG : unix
Date : September 25 2020, 05:00 PM , By : iNflight
How to install Google Cloud SDK on AIX machine
How to install Google Cloud SDK on AIX machine
hop of those help? If you are seeking a prepared package for installation on AIX, I am not aware of one.AIX does support Python. You can install Python from the AIX toolbox repository.
TAG : unix
Date : September 25 2020, 03:00 PM , By : Brian
How can I use grep to display lines that start AND end with the same word
How can I use grep to display lines that start AND end with the same word
wish help you to fix your issue If you want to match the same word, you could use (if supported) \w+ to match 1+ word characters and a back reference to the captured word.
TAG : unix
Date : September 24 2020, 10:00 PM , By : Tom
Jenkins for syncing folder in separate environments
Jenkins for syncing folder in separate environments
I wish this help you Use any version control system to store code in text format.Developers will pull, do job and push changes, all in text format.
TAG : unix
Date : September 22 2020, 09:00 PM , By : remotedesktopplus
Getting yesterday's date in Unix csh script
Getting yesterday's date in Unix csh script
fixed the issue. Will look into that further I currently have the below lines as part of my script:
TAG : unix
Date : September 17 2020, 01:00 PM , By : R. Wahl
Zsh script will not set environment variables
Zsh script will not set environment variables
should help you out Your getopts string doesn't allow for option-arguments.Change it from:
TAG : unix
Date : September 03 2020, 08:00 AM , By : code-monk-e
shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk