10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Is it possible to create new folder and write a new text file in the folder while the current position is outside the new folder? in one line
mkdir folder | echo "hello test"> folder/test.txt
not work. (1 Reply)
Discussion started by: cmdcmd
2. Shell Programming and Scripting
I want to create a file contains millions of lines. The line format like this:
fields separated by $$, field 1 and field 3 have only two options:acnum or crenum; + or -. field 4 can be any name or any letters. Other fields can be any fixed length digits. So, I want to... (9 Replies)
Discussion started by: hhdzhu
3. Shell Programming and Scripting
Using useradd abc --password password (5 Replies)
Discussion started by: Jagruti Rml
4. UNIX Desktop Questions & Answers
I would like to write a script that would remove and/or create shortcuts in Gnome desktop in RHEL 6.3...
I googled all over the place could never find what I needed...
Any help would be greatly appreciated!
Thank you! (0 Replies)
Discussion started by: ruberked
5. Shell Programming and Scripting
I have file A.txt
File A Data
I want create text file of all data above and write some data on each file.
want Output on below folder
Welocme (3 Replies)
Discussion started by: asavaliya
6. Shell Programming and Scripting
How do you create lists or arrays in the command line?
And how do you access specific cells of the list? (1 Reply)
Discussion started by: locoroco
7. Shell Programming and Scripting
I need to write a script which will search for some text in some CSV files and will delete the record/line with the matching text and will insert that record/line into some other file.
Can you please help?
Here is what I want: -
Contents of MainFile.csv: -
1,2,3,Loan,4,5,6... (3 Replies)
Discussion started by: kapilk
8. Shell Programming and Scripting
A file contains the following information shown below. Every ceName has 2 consecutive lines that have to be evaluated, using awk, sed, cut (any common unix tools).
Status:... (15 Replies)
Discussion started by: BRH
9. Shell Programming and Scripting
I would like to read line by line out of a file (one word per line) and create with each line a file.
The read line should be also pasted into the file with some other text.
Something like this:
cat readfile.txt | mkfile readline << "bla bli $readline blu" (7 Replies)
Discussion started by: borobudur
10. UNIX for Advanced & Expert Users
I need to email an ASCII data file to a business partner, and intended on creating a Korn Shell script to create an email message (minimal text), and attach the ASCII data file to the email.
It seems this is not as easy as I had thought it might be. sendmail does not support... (3 Replies)
Discussion started by: jwperry