10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a virtual pdf printer set up on my server which produces files with the following prefix:
smbprn_00000044_Microsoft_Word_-_OriginalFilename.pdfthe number in the center of the file increase by one for each new file.
I want to remove all the charaters infront of OriginalFilename.pdf using... (14 Replies)
Discussion started by: barrydocks
14 Replies
2. Shell Programming and Scripting
Hello all,
I am trying to make a script that will apply a substitution to any number of files given on the command line.
Example would be
~/Unix/script/subst car boat myFile1.txt myFile2.txt myFile3.txt
This is the code I have so far but it does not function as needed.
PAT=$1
shift... (10 Replies)
Discussion started by: ramn214
10 Replies
3. UNIX for Advanced & Expert Users
Hi Guys,
I've inherited a mess of an infrastructure in my new job, there hasn't been a sys admin in post for about a year, so things are falling apart. The first thing to break after I started was the printer server. I have it working again, and people can print, however it's very slow, slower... (0 Replies)
Discussion started by: rudigarude
0 Replies
4. Shell Programming and Scripting
Hi All,
I need to update 2 rows in my file. But i can do only one row update by sed command. Please help me how can i change mutltiple rows in single sed commana
my i/p file: (example.txt)
record
integer (10) present_id;
string (10) first_name;
string (10) last_name;
string... (2 Replies)
Discussion started by: pdathu
2 Replies
5. Solaris
Greetings Forumers!
I am running into an issue with multiple zones on an M5000 with 2 NICs. The NICs are on separate VLANs. These zones are using the 2 NICs to communicate with other systems but when they need to communicate with a zone on the same system, but different NIC, the application... (9 Replies)
Discussion started by: bluescreen
9 Replies
6. UNIX for Dummies Questions & Answers
I have a basic tail/grep question. I have logs that are generated & kept in a directory called alert_audit. I am using "tail" to see the logs that are coming in, but I only need logs that contain the IP address 10.249.185. or 10.247.231.
Here is the command I have, but it pulls all IP... (3 Replies)
Discussion started by: robertson1995
3 Replies
7. UNIX for Dummies Questions & Answers
howdy.
can you place mplayer windows on the screen anywhere?
i would like to open four movie files from command line and make them show up on screen like this
----- -----
| 1 | | 2 |
----- -----
| 3 | | 4 |
----- -----
hopefully my ascii representation makes some sense.
and i would... (1 Reply)
Discussion started by: danpaluska
1 Replies
8. Shell Programming and Scripting
Hi All,
I have a total of ten file to open in the Perl script and i am using a for loop to open each file and capture some strings inside each file.
Unfortunately, i encounter the below syntax error.
I think there should be something wrong with this term reports_${counting}_${_}.txt but i do... (4 Replies)
Discussion started by: Raynon
4 Replies
9. Shell Programming and Scripting
Hi all,
I have mistkanely gzipped twice an entire folder and sub folders, and also renamed the files during that process.
I am trying to undo this, and I need help to create the batch to work on it.
All folders are under my images directory, I have a output.txt file that holds all the... (1 Reply)
Discussion started by: saariko
1 Replies
10. Shell Programming and Scripting
Hi,
I would like to get 5th field from this output using FS.
Filesystem 1024-blocks Used Available Capacity Mounted on
172.29.138.222:/vol/vol0 311936256 2565248 309371008 1% /tmp/test
My command is
df -kP | awk ' BEGIN { FS="" ; } { print $5 ; } '
For some... (5 Replies)
Discussion started by: phamp008
5 Replies