10 More Discussions You Might Find Interesting
1. Web Development
I am currently trying to open a .doc file in my workstation via terminal. This is my code:
root@ojt:/home/ojt/Desktop# cat arts_life.doc
and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (4 Replies)
Discussion started by: chams
4 Replies
2. UNIX for Dummies Questions & Answers
I am currently trying to open a .doc file in my workstation via terminal. This is my code:
root@ojt:/home/ojt/Desktop# cat arts_life.doc
and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (2 Replies)
Discussion started by: chams
2 Replies
3. UNIX for Dummies Questions & Answers
im tring to make backup to the files end with "doc" extension but the code give me error ... what is the problem!!!!
#! /bin/sh
if
then
for name in `ls *.DOC`
do
kk= $(printf "%s_temp" $name)
cp $name $kk
done
else
echo "error" (9 Replies)
Discussion started by: maga6610
9 Replies
4. UNIX for Dummies Questions & Answers
I have a data set that has 4 columns, I want to know if I can delete duplicate lines while ignoring one of the columns, for example
10 chr1 ASF 30
15 chr1 ASF 20
5 chr1 ASF 30
6 chr2 EBC 15
4 chr2 EBC 30
...
I want to know if I can delete duplicate lines while ignoring column 1, so the... (5 Replies)
Discussion started by: japaneseguitars
5 Replies
5. Shell Programming and Scripting
Hello there....unix users :)
I hope you can help me with this:
I need open a doc file or xls files and work this files whit a bash script.
For example: Open a doc file and copy information from a txt file in this doc file or xls file.
Is it possible?
Sorry for my english...I'm chilean... (3 Replies)
Discussion started by: bobbasystem
3 Replies
6. UNIX for Dummies Questions & Answers
I'm learning Unix on my mac, and know that the grep command only works in text files. But what if I want to search for text/patters in a doc file, say? (I write my letters in NeoOffice and save them in .doc format). Is there a unix command that can do that? (4 Replies)
Discussion started by: Straitsfan
4 Replies
7. Shell Programming and Scripting
I need help running a script. I have the script looking into a folder and converting .doc files to .odt. The script works fine except that I want it to only run when .doc files are present. If I can do this then I can put .xls files and .ppt files in the folder and convert them when they are... (2 Replies)
Discussion started by: handband2
2 Replies
8. Shell Programming and Scripting
Dear Experts ,
I have 15 files and each files contains the data as mentioned below
fileA
name company salary
job location nationality
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123... (4 Replies)
Discussion started by: shary
4 Replies
9. Linux
Hi,
I need to remove files that are in archive directory and which are old. I can make use of find command to search for files which are older by number of days.
But the problem is there are sub directories in directory 'archive' like 'sub1' 'sub2' 'sub3'.
Now all files which are in... (4 Replies)
Discussion started by: ramu_indian
4 Replies
10. Shell Programming and Scripting
Hi there,
I have a scritp that is clearing out old files from some directories, rather than echoing the name of the file when it gets deleted i want to echo a ". " I have tried to just echo it after the deletion but it lists like this
.
.
.
.
I want to show it like this
. . . . . . . . .... (1 Reply)
Discussion started by: nhatch
1 Replies