because technical reason on my solaris machine , I can't use awk in order to print the last field in line
What the other alternative for awk , that print the last field from line (using cut or tr ...etc )
example1:
/usr/bin/hostname
machine1b
/usr/bin/hostname | /usr/bin/sed 's/\(.\{1\}\)/\1 /g' | /usr/bin/awk '{print $NF}'
b
example2
echo 1 2 3 4 5 | /usr/bin/awk '{print $NF}'
5
I have Windows 2008 R2 RDS (Terminal Server) hosting application using remoteapp.
Have just upgraded to 12.04 and find I am unable to print .pdf documents that have been created by scanning. These documents did print with 10.04.
I have a dual boot system 12.04/WinXP and the same documents print satisfactorily in the WinXP side.
Do I need to add some software so I can print any .pdf document regardless of its source?
I installed 12.04LTS and have a DeskJet 1125C connected through USB.
The problem: Sometimes it does not print - in print jobs is status Pending/Processing but print does not start. I discovered if I print some documents then next document simply doesn't print with status processing or status pending. The only way is to disconnect printer from USB and immediately reconnect then works OK some times.
Gimp 2.6.7 on FC 11 64 bit with HP Laserjet 4000T.
I can print a photo from Gimp if I use the "print preview" first and then select the print icon on the print preview window. When I don't do the preview and try to print without that step, the printer emits a blank page.
I am having some hard time with awk today. If I try to do:
df|awk '{print $2; $some=$2; print $some}'
It works as expected and I get the size of the disks twice but if I do:
df|awk '{$some=$2; print $some}'
I just get blank lines. Why is this happening? Something is maybe wrong in my understanding but why the usage of a field mandatory for subsequent fields to work?
Hi,
Below is starting entry of my script
#!/bin/ksh
Usage()
{
print "Usage: $0 ID OPTION SERVER"
print "<br>Where :"
print "<br>Enter your ID into PARAM1, OPTION in the PARAM2 and SERVER in the PARAM3 field"
print "<br>ID should be a valid ID"
print "<br>OPTION should be either BOUNCE or STATUS"
print &q
Hi I am doing a review on a Brother MFC-795CW. Had been blaming it for its very inconsistent print quality, but when I tried print from Windows, the print was excellent.
Print settings can be set in CP and they are forgotten in Print Dialog.
I have been trying to set up my printer using ipp but I cant get it to work. Its currently set up as below:However, when I issue a CLI command to print lp <filename> it reaches the print queue and I see it on localhost:631and listed in the jobs list, but it doesn't actually print the file.