Search Results

Search: Posts Made By: vanackpt
4,766
Posted By vanackpt
What error would you expect ? If you are...
What error would you expect ?
If you are looking for a specific word or sentence you can use grep or something like that.
8,928
Posted By vanackpt
There is another way, but I can't say it is...
There is another way, but I can't say it is easier to understand, but it uses only one pipe, so one fork less.

Here it is,

IPX=` who am i | sed -e 's/^.*(\(.*\)).*/\1/'

The trick is to use...
4,766
Posted By vanackpt
The unix file you are trying to open in a windows...
The unix file you are trying to open in a windows editor is probably one large line under windows.
The reason for this is that unix is only using a <CR> as line terminator and windows is using a...
2,267
Posted By vanackpt
After executing a command, the result code can be...
After executing a command, the result code can be obtained by using the variable $?

for example

command1
RES=$?

if [ $RES -ne 0 ]
then
echo "Error launch command"
else
echo...
Forum: Solaris 12-17-2007
64,594
Posted By vanackpt
Hello, Until solaris 10, almost everything...
Hello,

Until solaris 10, almost everything is launched by scripts in /etc/rc? directory's.
These scripts are normally links (symbolic or hard ) to scripts in /etc/init.d.

Only scripts with...
2,771
Posted By vanackpt
I think you mix two things. There is a EOL at...
I think you mix two things.
There is a EOL at the end of each line and there is something like EOF (end of file).
As far as i understand, you mean the EOF character, is this so ?
2,771
Posted By vanackpt
If you want to check every line, you gonne have...
If you want to check every line, you gonne have to parse the whole file,
or do you only want to check the first or last line ?
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 12:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy