Search Results

Search: Posts Made By: lmishkind
Forum: Solaris 07-20-2009
16,522
Posted By lmishkind
True. But the change still has to be saved...
True. But the change still has to be saved somewhere
Forum: Solaris 07-15-2009
16,522
Posted By lmishkind
hostname on Solaris
Hi All,

I am wondering how does the hostname command decides what is the actual hostname. Where does the command take the information from?
1,615
Posted By lmishkind
You can do something like this: cat file1 |...
You can do something like this:

cat file1 | while read line ; do
grep -qw $line file2
if [ $? -eq 0 ] ; then
echo $line
fi
done
7,874
Posted By lmishkind
Hi RubinPat, How are you writing to a file? $...
Hi RubinPat,
How are you writing to a file? $ command >> filename.txt will append the output of the command to an existent file.
$ command > filename.txt will create a new file or overwrite an...
5,675
Posted By lmishkind
Its is not clear if you want to move all files...
Its is not clear if you want to move all files (the subject) or only X number of files.
For all files: $ mv <Path to SRC DIR>/* <Path to DST DIR>/
For only X files you can do something like this:...
Showing results 1 to 5 of 5

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